~ubuntu-branches/ubuntu/trusty/exabgp/trusty

« back to all changes in this revision

Viewing changes to QA/unittest/table.py

  • Committer: Package Import Robot
  • Author(s): Henry-Nicolas Tourneur
  • Date: 2012-03-22 12:00:00 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120322120000-v4aj8h69mhpmgbjq
Tags: 2.0.7-1

* New upstream release
* Fix bad clean target for build/ directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
table.py
5
5
 
6
6
Created by Thomas Mangin on 2009-08-25.
7
 
Copyright (c) 2009-2011 Exa Networks. All rights reserved.
 
7
Copyright (c) 2009-2012 Exa Networks. All rights reserved.
8
8
"""
9
9
 
10
10
import unittest
77
77
 
78
78
                self.table.update([routes[1]])
79
79
                print '-------------------------'
80
 
                print 
 
80
                print
81
81
                print [(t,r) for (t,r) in self.table.changed(self.now) if t]
82
82
                print
83
83
                self.failIf(('-',routes[0]) not in [(t,r) for (t,r) in self.table.changed(self.now) if t])
91
91
                self.failIf(('+',routes[2]) not in [(t,r) for (t,r) in self.table.changed(self.now) if t])
92
92
 
93
93
if __name__ == '__main__':
94
 
        unittest.main()
 
 
b'\\ No newline at end of file'
 
94
        unittest.main()