mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Add change to test directory for high SNR python tests.
This commit is contained in:
parent
c15b11fe7b
commit
9d268b99ad
4 changed files with 24 additions and 0 deletions
|
@ -20,6 +20,12 @@ except KeyError:
|
|||
FRAMESPERBURST = 1
|
||||
TESTFRAMES = 3
|
||||
|
||||
# For some reason, sometimes, this test requires the current directory to be `test`.
|
||||
# Try to adapt dynamically. I still want to figure out why but as a workaround,
|
||||
# I'm not completely dissatisfied.
|
||||
if os.path.exists("test"):
|
||||
os.chdir("test")
|
||||
|
||||
|
||||
@pytest.mark.parametrize("bursts", [BURSTS, 2, 3])
|
||||
@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3])
|
||||
|
|
|
@ -20,6 +20,12 @@ except KeyError:
|
|||
FRAMESPERBURST = 1
|
||||
TESTFRAMES = 3
|
||||
|
||||
# For some reason, sometimes, this test requires the current directory to be `test`.
|
||||
# Try to adapt dynamically. I still want to figure out why but as a workaround,
|
||||
# I'm not completely dissatisfied.
|
||||
if os.path.exists("test"):
|
||||
os.chdir("test")
|
||||
|
||||
|
||||
@pytest.mark.parametrize("bursts", [BURSTS, 2, 3])
|
||||
@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3])
|
||||
|
|
|
@ -19,6 +19,12 @@ except KeyError:
|
|||
FRAMESPERBURST = 1
|
||||
TESTFRAMES = 3
|
||||
|
||||
# For some reason, sometimes, this test requires the current directory to be `test`.
|
||||
# Try to adapt dynamically. I still want to figure out why but as a workaround,
|
||||
# I'm not completely dissatisfied.
|
||||
if os.path.exists("test"):
|
||||
os.chdir("test")
|
||||
|
||||
|
||||
@pytest.mark.parametrize("bursts", [BURSTS, 2, 3])
|
||||
@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3])
|
||||
|
|
|
@ -19,6 +19,12 @@ except KeyError:
|
|||
FRAMESPERBURST = 1
|
||||
TESTFRAMES = 3
|
||||
|
||||
# For some reason, sometimes, this test requires the current directory to be `test`.
|
||||
# Try to adapt dynamically. I still want to figure out why but as a workaround,
|
||||
# I'm not completely dissatisfied.
|
||||
if os.path.exists("test"):
|
||||
os.chdir("test")
|
||||
|
||||
|
||||
@pytest.mark.parametrize("bursts", [BURSTS, 2, 3])
|
||||
@pytest.mark.parametrize("frames_per_burst", [FRAMESPERBURST, 2, 3])
|
||||
|
|
Loading…
Reference in a new issue