Skip to content

Commit

Permalink
Removed hard-coded version string from test.
Browse files Browse the repository at this point in the history
  • Loading branch information
canismarko committed Aug 4, 2024
1 parent 2dbb9a8 commit 433a987
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/haven/tests/test_preprocessors.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from bluesky.callbacks import CallbackBase
from ophyd.sim import SynAxis, det, instantiate_fake_device

import haven
from haven import baseline_decorator, baseline_wrapper, run_engine
from haven.instrument.beamline_manager import BSS
from haven.preprocessors import shutter_suspend_decorator, shutter_suspend_wrapper
Expand Down Expand Up @@ -123,7 +124,7 @@ def test_metadata(sim_registry, aps, monkeypatch):
assert "versions" in start_doc.keys()
versions = start_doc["versions"]
assert "haven" in versions.keys()
assert versions["haven"] == "23.10.0"
assert versions["haven"] == haven.__version__
assert "bluesky" in versions.keys()
# Check metadata keys
expected_keys = [
Expand Down

0 comments on commit 433a987

Please sign in to comment.