Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-milea committed Jul 14, 2023
1 parent 058c603 commit 1e51697
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/node/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import hashlib
from multiprocessing import current_process
import os
import subprocess
import subprocess # nosec
import traceback
from typing import Any
from typing import Callable
Expand Down
2 changes: 2 additions & 0 deletions packages/syft/tests/syft/settings/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def settings(worker, faker) -> NodeSettings:
description=faker.text(),
deployed_on=datetime.now().date().strftime("%m/%d/%Y"),
signup_enabled=False,
admin_email="[email protected]",
)


Expand All @@ -52,6 +53,7 @@ def metadata_json(faker) -> NodeMetadataJSON:
lowest_object_version=LOWEST_SYFT_OBJECT_VERSION,
syft_version=__version__,
signup_enabled=False,
admin_email="[email protected]",
)


Expand Down
2 changes: 2 additions & 0 deletions packages/syft/tests/syft/settings/settings_service_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ def test_settings_allow_guest_registration(
lowest_object_version=2,
syft_version=syft.__version__,
signup_enabled=False,
admin_email="[email protected]",
)

with mock.patch(
Expand Down Expand Up @@ -307,6 +308,7 @@ def get_mock_client(faker, root_client, role):
lowest_object_version=2,
syft_version=syft.__version__,
signup_enabled=False,
admin_email="[email protected]",
)

with mock.patch(
Expand Down

0 comments on commit 1e51697

Please sign in to comment.