-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8766 from OpenMined/aziz/integration_tests_local
enable local folder in integration tests
- Loading branch information
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# stdlib | ||
from secrets import token_hex | ||
import sys | ||
|
||
# third party | ||
import pytest | ||
|
@@ -100,6 +101,8 @@ def private_function(context) -> str: | |
return 42 | ||
|
||
|
||
@pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows") | ||
@pytest.mark.local_node | ||
def test_twin_api_integration(full_high_worker, full_low_worker): | ||
low_client = full_low_worker.login( | ||
email="[email protected]", password="changethis" | ||
|
@@ -165,6 +168,8 @@ def compute(query): | |
), "Should not be able to access private function on low side." | ||
|
||
|
||
@pytest.mark.skipif(sys.platform == "win32", reason="does not run on windows") | ||
@pytest.mark.local_node | ||
def test_function_error(full_low_worker) -> None: | ||
root_domain_client = full_low_worker.login( | ||
email="[email protected]", password="changethis" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters