예제 #1
0
파일: opan_xyz.py 프로젝트: bskinn/opan
    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)
예제 #2
0
파일: orca_engrad.py 프로젝트: bskinn/opan
    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)
예제 #3
0
파일: opan_xyz.py 프로젝트: bskinn/opan
    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)
예제 #4
0
파일: orca_engrad.py 프로젝트: bskinn/opan
    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)
예제 #5
0
파일: orca_engrad.py 프로젝트: bskinn/opan
    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)
예제 #6
0
파일: opan_xyz.py 프로젝트: bskinn/opan
    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)