mirror of
https://github.com/LukeHagar/pokemonAPI-Amari.git
synced 2025-12-06 04:20:57 +00:00
adding main
This commit is contained in:
1
example_usage_api.py
Normal file → Executable file
1
example_usage_api.py
Normal file → Executable file
@@ -26,4 +26,3 @@ def main():
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
|
||||
0
poke_sdk/PokeAPI.py
Normal file → Executable file
0
poke_sdk/PokeAPI.py
Normal file → Executable file
0
poke_sdk/__init__.py
Normal file → Executable file
0
poke_sdk/__init__.py
Normal file → Executable file
0
poke_sdk/api_client.py
Normal file → Executable file
0
poke_sdk/api_client.py
Normal file → Executable file
0
poke_sdk/exceptions.py
Normal file → Executable file
0
poke_sdk/exceptions.py
Normal file → Executable file
0
poke_sdk/models.py
Normal file → Executable file
0
poke_sdk/models.py
Normal file → Executable file
0
requirements.txt
Normal file → Executable file
0
requirements.txt
Normal file → Executable file
2
tests/test_poke_api.py
Normal file → Executable file
2
tests/test_poke_api.py
Normal file → Executable file
@@ -26,6 +26,6 @@ class TestPokeAPI(unittest.TestCase):
|
||||
with self.assertRaises(APIError):
|
||||
self.api.get_generation("invalid_id")
|
||||
|
||||
|
||||
#adding main
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user