示例#1
0
 def test_check_files_in_tarball_files_not_exist(self):
     source_dir = os.getcwd()
     files = ["test-thing-that-does-not-exist"]
     try:
         instructions.check_files_in_package(source_dir, files)
     except CondaFileIOError as e:
         assert isinstance(e, CondaFileIOError)
     else:
         self.fail('CondaFileIOError not raised')
示例#2
0
 def test_check_files_in_tarball_files_not_exist(self):
     source_dir = os.getcwd()
     files = ["test-thing-that-does-not-exist"]
     try:
         instructions.check_files_in_package(source_dir, files)
     except CondaFileIOError as e:
         assert isinstance(e, CondaFileIOError)
     else:
         self.fail('CondaFileIOError not raised')
示例#3
0
 def test_check_files_in_tarball_files_exist(self):
     source_dir = os.getcwd()
     files = [__file__]
     self.assertTrue(instructions.check_files_in_package(source_dir, files))
示例#4
0
 def test_check_files_in_tarball_files_exist(self):
     source_dir = os.getcwd()
     files = [__file__]
     self.assertTrue(instructions.check_files_in_package(source_dir, files))