generated from libresource/pygenesis
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dfdf882
commit c8f48c3
Showing
3 changed files
with
62 additions
and
21 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,14 +1,24 @@ | ||
""" | ||
Fixtures for testing | ||
""" | ||
# import requests | ||
import testing.test_tenda_everest.mocks as mocks | ||
from pytest import fixture | ||
from testing.test_tenda_everest import mocks | ||
|
||
|
||
@fixture | ||
def requests_module(): | ||
""" | ||
fixture for requests test module | ||
""" | ||
# return requests | ||
return mocks | ||
|
||
|
||
@fixture | ||
def host(): | ||
""" | ||
fixture for test host | ||
""" | ||
return '9.9.9.9' | ||
# return 'http://10.173.1.142:8081' |
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
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