Example #1
0
 def test_command_line_should_raise_without_superuser(self):
     with self.assertRaises(CommandError):
         com = PublishCommand()
         com.handle_noargs()
 def test_command_line_should_raise_without_superuser(self):
     with self.assertRaises(CommandError):
         com = PublishCommand()
         com.handle()