-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
enhancementNew feature or requestNew feature or request
Description
User Story
As a diracx developer, I want to create tests where 2 different clients interact with each other (client = client_factory), so that I can create more complex tests.
Feature Description
There was a PR that demonstrated the issue, but it has not been fixed:
#583
See the reproducer:
@pytest.fixture
def user_client(client_factory):
with client_factory.normal_user() as client:
yield client
def test_that_fails(test_client, user_client):
assert TrueThere was a real use case at some point, but might have been addressed through a workaround. In any case, this is likely something we want to keep to create more complex test.
Definition of Done
- A test involving 2 different clients should pass
Alternatives Considered
No response
Related Issues
No response
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request