Beispiel #1
0
 def test_execution_no_clean(self, parser):
     update_folder = "pyu-data"
     data_folder = ".pyupdater"
     subparser = make_subparser(parser)
     add_clean_parser(subparser)
     args, other = parser.parse_known_args(["clean", "-y"])
     commands._cmd_clean(args)
     assert not os.path.exists(update_folder)
     assert not os.path.exists(data_folder)
Beispiel #2
0
 def test_execution_no_clean(self, parser):
     update_folder = 'pyu-data'
     data_folder = '.pyupdater'
     subparser = make_subparser(parser)
     add_clean_parser(subparser)
     args, other = parser.parse_known_args(['clean', '-y'])
     commands._cmd_clean(args)
     assert not os.path.exists(update_folder)
     assert not os.path.exists(data_folder)