diff options
author | 2015-08-24 18:44:56 +0300 | |
---|---|---|
committer | 2015-08-24 18:44:56 +0300 | |
commit | 98bc71b1c21452c3d868c4a4d418a8aeaa5a43af (patch) | |
tree | 2e66b9a775f0a5c545caa76f62890f5a5546e231 /scripts/automation/trex_control_plane/python_lib/lockfile-0.10.2/test/test_lockfile.py | |
parent | 20eb7d362f9bce1951bd61ad3f78cf8f4267d1d5 (diff) | |
parent | 36c6c87fe4380b214f8ff8a45dc0213fa109821c (diff) |
Merge branch 'master' into dan_stateless
Diffstat (limited to 'scripts/automation/trex_control_plane/python_lib/lockfile-0.10.2/test/test_lockfile.py')
-rwxr-xr-x | scripts/automation/trex_control_plane/python_lib/lockfile-0.10.2/test/test_lockfile.py | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/scripts/automation/trex_control_plane/python_lib/lockfile-0.10.2/test/test_lockfile.py b/scripts/automation/trex_control_plane/python_lib/lockfile-0.10.2/test/test_lockfile.py deleted file mode 100755 index e1f4f72f..00000000 --- a/scripts/automation/trex_control_plane/python_lib/lockfile-0.10.2/test/test_lockfile.py +++ /dev/null @@ -1,36 +0,0 @@ -import sys - -import lockfile.linklockfile -import lockfile.mkdirlockfile -import lockfile.pidlockfile -import lockfile.symlinklockfile - -from compliancetest import ComplianceTest - -class TestLinkLockFile(ComplianceTest): - class_to_test = lockfile.linklockfile.LinkLockFile - -class TestSymlinkLockFile(ComplianceTest): - class_to_test = lockfile.symlinklockfile.SymlinkLockFile - -class TestMkdirLockFile(ComplianceTest): - class_to_test = lockfile.mkdirlockfile.MkdirLockFile - -class TestPIDLockFile(ComplianceTest): - class_to_test = lockfile.pidlockfile.PIDLockFile - -# Check backwards compatibility -class TestLinkFileLock(ComplianceTest): - class_to_test = lockfile.LinkFileLock - -class TestMkdirFileLock(ComplianceTest): - class_to_test = lockfile.MkdirFileLock - -try: - import sqlite3 -except ImportError: - pass -else: - import lockfile.sqlitelockfile - class TestSQLiteLockFile(ComplianceTest): - class_to_test = lockfile.sqlitelockfile.SQLiteLockFile |