We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a8608 commit 28604c6Copy full SHA for 28604c6
setup.py
@@ -39,7 +39,7 @@ def run_tests(self):
39
},
40
install_requires=required,
41
cmdclass={"test": PyTest},
42
- tests_require=["pytest"],
+ tests_require=["pytest", "requests"],
43
project_urls={
44
'Source': URL
45
test/test_cli/test_script.py
@@ -28,6 +28,8 @@ def tmp_dir_cleanup():
28
GISTS_URL = "https://api.github.com/gists"
29
gists = requests.get(GISTS_URL).text
30
gists = json.loads(gists)
31
+assert type(gists) is list and gists and type(gists[0]) is dict
32
+
33
for item in gists:
34
with (tmp_path / f"{item['id']}.gist").open("w") as f:
35
json.dump(item, f)
0 commit comments