test/unittest_cwctl.py
branchstable
changeset 6197 d8f0dce0b86d
parent 5436 2455ca3a2a3a
child 6631 26c303c3f1aa
equal deleted inserted replaced
6196:12fdccedab5a 6197:d8f0dce0b86d
    37     def tearDown(self):
    37     def tearDown(self):
    38         sys.stdout = sys.__stdout__
    38         sys.stdout = sys.__stdout__
    39 
    39 
    40     def test_list(self):
    40     def test_list(self):
    41         from cubicweb.cwctl import ListCommand
    41         from cubicweb.cwctl import ListCommand
    42         ListCommand().run([])
    42         ListCommand(None).run([])
    43 
    43 
    44 
    44 
    45 class CubicWebShellTC(CubicWebTC):
    45 class CubicWebShellTC(CubicWebTC):
    46 
    46 
    47     def test_process_script_args_context(self):
    47     def test_process_script_args_context(self):