mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
move tests out of installed package dir
This commit is contained in:
parent
dd1c7b5f7d
commit
4c380dcc41
@ -6,6 +6,7 @@ import tempfile
|
||||
import subprocess # to access the script from shell
|
||||
import sys
|
||||
import glob
|
||||
import distutils
|
||||
|
||||
# will try as python 3 then default to python 2 modules
|
||||
try:
|
||||
@ -38,7 +39,7 @@ val1 = 'very first value'
|
||||
val2 = 'second value'
|
||||
|
||||
py = sys.executable
|
||||
dump_anydbm_loc = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), "bin/dump-anydbm")
|
||||
dump_anydbm_loc = distutils.spawn.find_executable("dump-anydbm")
|
||||
|
||||
@pytest.fixture(scope="function")
|
||||
def gdbm_test_db(request):
|
Loading…
x
Reference in New Issue
Block a user