Skip to content

Commit

Permalink
Create a new survey in test_group
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Oct 10, 2024
1 parent 7e3ebcc commit b01b7ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration/test_rpc_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,11 @@ def test_copy_survey_destination_id(


@pytest.mark.integration_test
def test_group(client: citric.Client, survey_id: int):
def test_group(client: citric.Client):
"""Test group methods."""
# Create a new survey
survey_id = client.add_survey(1234, "New Survey", "en")

# Import a group
with Path("./examples/group.lsg").open("rb") as f:
group_id = client.import_group(f, survey_id)
Expand Down

0 comments on commit b01b7ee

Please sign in to comment.