示例#1
0
    def test_scramble(self):
        print("MDF scramble tests")

        for input_file in Path(TestMDF.tempdir_demo.name).iterdir():
            scrambled = MDF.scramble(input_file)
            self.assertTrue(scrambled)
            Path(scrambled).unlink()
示例#2
0
    def test_scramble(self):
        print("MDF scramble tests")

        for input_file in Path(TestMDF.tempdir_demo.name).iterdir():
            if input_file.suffix.lower() in ('.mdf', '.mf4'):
                scrambled = MDF.scramble(input_file)
                self.assertTrue(scrambled)
                Path(scrambled).unlink()