Skip to content

Commit

Permalink
action needed for boolean
Browse files Browse the repository at this point in the history
Signed-off-by: Chaurasiya, Payal <[email protected]>
  • Loading branch information
payalcha committed Nov 28, 2024
1 parent 6fba6ee commit aa862e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/end_to_end/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ def pytest_addoption(parser):
parser.addoption("--num_collaborators")
parser.addoption("--num_rounds")
parser.addoption("--model_name")
parser.addoption("--disable_client_auth")
parser.addoption("--disable_tls")
parser.addoption("--log_memory_usage")
parser.addoption("--disable_client_auth", action="store_true")
parser.addoption("--disable_tls", action="store_true")
parser.addoption("--log_memory_usage", action="store_true")


@pytest.fixture(scope="session", autouse=True)
Expand Down Expand Up @@ -246,7 +246,7 @@ def fx_federation(request, pytestconfig):

# For TLS enabled (default) scenario: when the workspace is certified, the collaborators are registered as well
# For TLS disabled scenario: collaborators need to be registered explicitly
if args.use_tls:
if use_tls:
log.info("Disabling TLS for communication")
try:
model_owner.register_collaborators(num_collaborators)
Expand Down

0 comments on commit aa862e2

Please sign in to comment.