diff options
| author | 2019-10-20 21:14:12 +0200 | |
|---|---|---|
| committer | 2019-10-20 21:14:12 +0200 | |
| commit | f194df838c623d3c1b68809230f396a7241508b1 (patch) | |
| tree | c4376bd37862d868fe100cababc731911d48fabd /tests/test_resources.py | |
| parent | Merge pull request #528 from bendiller/antimalware-cog (diff) | |
| parent | Merge branch 'master' into unittest-migration (diff) | |
Merge pull request #517 from python-discord/unittest-migration
Migrating the test suite to the `unittest` framework
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 |