diff options
| author | 2019-10-26 17:16:01 +0200 | |
|---|---|---|
| committer | 2019-10-26 17:16:01 +0200 | |
| commit | a9b0027755a89af79d4cf81e6b49a6b5a029b405 (patch) | |
| tree | 4b16923c7918e062179a1bb013d9acf813be4020 /tests/test_resources.py | |
| parent | Add reddit environment variable, change User-Agent and fix lint problem (diff) | |
| parent | Merge pull request #527 from kraktus/compact_free (diff) | |
Resolved merge conflicts.
Add retry loop to token request.
Revoke access token after usage.
Diffstat (limited to 'tests/test_resources.py')
| -rw-r--r-- | tests/test_resources.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/test_resources.py b/tests/test_resources.py deleted file mode 100644 index bcf124f05..000000000 --- a/tests/test_resources.py +++ /dev/null @@ -1,13 +0,0 @@ -import json -from pathlib import Path - - -def test_stars_valid(): - """Validates that `bot/resources/stars.json` contains a list of strings.""" - - path = Path('bot', 'resources', 'stars.json') - content = path.read_text() - data = json.loads(content) - - for name in data: - assert type(name) is str |