Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into 835_transmission_bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicOram committed Aug 1, 2023
2 parents 3c8c602 + e44ff14 commit c16690d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def dummy_ispyb_3d(dummy_params):
def test_get_current_time_string(dummy_ispyb):
current_time = dummy_ispyb.get_current_time_string()

assert type(current_time) == str
assert isinstance(current_time, str)
assert re.match(TIME_FORMAT_REGEX, current_time) is not None


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def test_when_message_recieved_from_zocalo_then_point_returned(

return_value = future.result()

assert type(return_value) == list
assert isinstance(return_value, list)
returned_com = np.array([*return_value[0]["centre_of_mass"]])
np.testing.assert_array_almost_equal(
returned_com, np.array([*centre_of_mass_coords])
Expand Down

0 comments on commit c16690d

Please sign in to comment.