Skip to content

Commit

Permalink
Comment out tests that cannot be run automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
cboulay committed Sep 19, 2024
1 parent 10a8f5c commit cca1e7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_inlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ async def on_message(self, msg: AxisArray) -> None:
if self.STATE.num_received == self.SETTINGS.num_msgs:
raise ez.NormalTermination

"""
def test_inlet_init_with_settings():
test_name = os.environ.get("PYTEST_CURRENT_TEST")
test_name = test_name.split(":")[-1].split(" ")[0]
Expand All @@ -69,3 +70,4 @@ def test_inlet_init_with_settings():
# counts, bins = np.histogram(np.diff(tvec), 20)
assert np.max(np.diff(tvec)) < 0.003
"""
2 changes: 2 additions & 0 deletions tests/test_outlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def network(self) -> ez.NetworkDefinition:
)


"""
@pytest.mark.parametrize("block_size", [1, 5, 10, 20])
@pytest.mark.parametrize("factor", [1, 2, 3])
def test_downsample_system(
Expand Down Expand Up @@ -130,3 +131,4 @@ def test_downsample_system(
if __name__ == "__main__":
test_downsample_system(10, 2, test_name="test_window_system")
"""

0 comments on commit cca1e7b

Please sign in to comment.