Skip to content

Commit

Permalink
TST #325 re-enable commented assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed May 14, 2024
1 parent 5fffe9d commit 43301cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions hkl/tests/test_i325_motor_config_attrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ def test_i325(attr, motor, parent):
assert component.kind == Kind.config, f"{component.kind=!r}"

assert expected_key in device_configuration_keys, f"{expected_key=!r}"
# assert (
# sorted(motor.configuration_attrs) == MOTOR_RECORD_CONFIG_ATTRS
# ), f"{motor.name=!r}"
assert (
sorted(motor.configuration_attrs) == MOTOR_RECORD_CONFIG_ATTRS
), f"{motor.name=!r}"
2 changes: 1 addition & 1 deletion hkl/tests/test_save_restore_UB.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def scans():
assert len(runs) == 4, f"{runs=!r}"
# four sets of orientation info
# (last scan has 2, first scan has none)
# assert len(runs.scan_id) == 4
assert len(runs.scan_id) == 4
assert 1 not in runs.scan_id.to_list(), f"{runs=!r}" # no orientation
assert runs.scan_id.to_list() == [2, 3, 4, 4]
assert runs.diffractometer_name.to_list() == "fourc kappa fourc kappa".split()
Expand Down

0 comments on commit 43301cb

Please sign in to comment.