Esempio n. 1
0
 def test_detach_parser_prog(self):
     parser = detach_parser(mock.Mock())
     assert "detach" == parser.prog
Esempio n. 2
0
 def test_detach_parser_optionals_title(self):
     parser = detach_parser(mock.Mock())
     assert "Flags" == parser._optionals.title
Esempio n. 3
0
 def test_detach_parser_usage(self):
     parser = detach_parser(mock.Mock())
     assert "ua detach [flags]" == parser.usage