equal
deleted
inserted
replaced
17 def setUp(self): |
17 def setUp(self): |
18 self.stream = StringIO() |
18 self.stream = StringIO() |
19 sys.stdout = self.stream |
19 sys.stdout = self.stream |
20 def tearDown(self): |
20 def tearDown(self): |
21 sys.stdout = sys.__stdout__ |
21 sys.stdout = sys.__stdout__ |
22 |
22 |
23 def test_list(self): |
23 def test_list(self): |
24 from cubicweb.cwctl import ListCommand |
24 from cubicweb.cwctl import ListCommand |
25 ListCommand().run([]) |
25 ListCommand().run([]) |
26 |
26 |
27 if __name__ == '__main__': |
27 if __name__ == '__main__': |
28 unittest_main() |
28 unittest_main() |