We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c702197 commit e3fa368Copy full SHA for e3fa368
1 file changed
tests/unit_tests/client/test_client.py
@@ -616,6 +616,12 @@ def test_setting_instrument_session(client):
616
assert client.instrument_session == "cm12345-4"
617
618
619
+def test_fluent_instrument_session_setter(client):
620
+ client2 = client.with_instrument_session("cm12345-3")
621
+ assert client is client2
622
+ assert client.instrument_session == "cm12345-3"
623
+
624
625
def test_plan_cache_ignores_underscores(client):
626
cache = PlanCache(client, [PlanModel(name="_ignored"), PlanModel(name="used")])
627
with pytest.raises(AttributeError, match="_ignored"):
0 commit comments