Exemplo n.º 1
0
    def tearDownClass(cls):
        import os
        from opan.test.utils import tearDownTestDir

        # Delete the xyz file
        os.remove(cls.file_name)

        # Remove the test directory
        tearDownTestDir(cls.testdir)
Exemplo n.º 2
0
    def tearDownClass(cls):
        import os
        from opan.test.utils import tearDownTestDir

        # Delete the engrad file
        os.remove(cls.file_name)

        # Remove the working directory
        tearDownTestDir(cls.testdir)
Exemplo n.º 3
0
    def tearDownClass(cls):
        # Remove any created files and try to remove the temp directory
        import os
        from opan.test.utils import tearDownTestDir

        # Try to remove the files
        [os.remove(cls.file_name + bname) for bname in
                                            cls.bad_file_data_substs.keys()]

        # Remove the directory
        tearDownTestDir(cls.testdir)
Exemplo n.º 4
0
    def tearDownClass(cls):
        # Tear down test directory and remove files

        import os
        from opan.test.utils import tearDownTestDir

        # Try to remove the files
        [os.remove(cls.file_name + dname) for dname in
                                            cls.bad_data_substs.keys()]

        # Remove the test directory
        tearDownTestDir(cls.testdir)
Exemplo n.º 5
0
    def tearDownClass(cls):
        # Remove any engrad files and try to remove the temp directory

        import os
        from opan.test.utils import tearDownTestDir

        # Try to remove the files
        [os.remove(cls.file_name + bname) for bname in
                                        cls.trunc_block_substs.keys()]

        # Try to remove the directory
        tearDownTestDir(cls.testdir)
Exemplo n.º 6
0
    def tearDownClass(cls):
        # Remove any created files and try to remove the temp directory
        import os
        from opan.test.utils import tearDownTestDir

        # Try to remove the files
        [
            os.remove(cls.file_name + bname)
            for bname in cls.bad_file_data_substs.keys()
        ]

        # Remove the directory
        tearDownTestDir(cls.testdir)