Skip to content

Commit 497e127

Browse files
committed
tests: update authentication test fixture
The HWOBJ.set_property() method has been removed. Manipulate the lims HWOBJ's configuration using it's 'config' attribute.
1 parent 8c426f7 commit 497e127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/test_authn.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def server(request, login_type):
5151

5252
hw_repo = mxcubecore.HardwareRepository.get_hardware_repository()
5353
lims = hw_repo.get_hardware_object("lims")
54-
lims.set_property("loginType", login_type)
54+
lims.config.loginType = login_type
5555

5656
yield server_
5757

0 commit comments

Comments
 (0)