This file contains hidden or 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
| import json | |
| import pytest | |
| import random | |
| from filelock import FileLock | |
| def random_num(): | |
| rand_num = random.randint(0, 3) * 3 | |
| return rand_num |
This file contains hidden or 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
| {"lastUpload":"2020-09-23T06:36:45.938Z","extensionVersion":"v3.4.3"} |
This file contains hidden or 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
| import pytest | |
| import random | |
| @pytest.fixture(scope="session") | |
| def get_random_num(): | |
| rand_num = random.randint(0, 3) * 3 | |
| return rand_num |