Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
b-vanstraaten committed Apr 4, 2024
1 parent 9b67286 commit 93479bc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: pip install -r requirements.txt

- name: Run unit tests
run: python -m unittest discover -s tests
run: python -m unittest discover -s ./tests -t ./


windows:
Expand All @@ -45,4 +45,4 @@ jobs:
run: pip install -r requirements.txt

- name: Run unit tests
run: python -m unittest discover -s tests
run: python -m unittest discover -s ./tests -t ./
2 changes: 1 addition & 1 deletion tests/test_against_brute_force.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

from qarray import (ground_state_open_rust, ground_state_closed_rust, dot_occupation_changes)
from qarray.brute_force_jax import ground_state_open_brute_force_jax, ground_state_closed_brute_force_jax
from tests.helper_functions import randomly_generate_matrices, too_different
from .GLOBAL_OPTIONS import disable_tqdm, N_ITERATIONS, N_VOLTAGES
from .helper_functions import randomly_generate_matrices, too_different


class BruteForceTests(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_double_dot.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from qarray import (ground_state_open_rust, ground_state_closed_rust, ground_state_open_python,
ground_state_closed_python, optimal_Vg, compute_threshold)
from qarray.jax_core import ground_state_open_jax, ground_state_closed_jax
from tests.helper_functions import randomly_generate_matrices, too_different
from .GLOBAL_OPTIONS import disable_tqdm, N_ITERATIONS, N_VOLTAGES
from .helper_functions import randomly_generate_matrices, too_different


class DoubleDotTests(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_quadruple_dot.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from qarray import (ground_state_open_rust, ground_state_closed_rust, ground_state_open_python,
ground_state_closed_python, optimal_Vg, compute_threshold)
from qarray.jax_core import ground_state_open_jax, ground_state_closed_jax
from tests.helper_functions import randomly_generate_matrices, too_different
from .GLOBAL_OPTIONS import N_ITERATIONS, N_VOLTAGES
from .helper_functions import randomly_generate_matrices, too_different


class DoubleDotTests(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_user_interaction.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import unittest

from qarray import (DotArray, GateVoltageComposer)
from tests.helper_functions import if_errors
from .helper_functions import if_errors

# setting up the constant capacitance model_threshold_1
model = DotArray(
Expand Down

0 comments on commit 93479bc

Please sign in to comment.