Skip to content

Commit

Permalink
Clean up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jarredSafegraph committed Feb 5, 2024
1 parent b719b7e commit ce7b387
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions placekey/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
To exclude slow tests run `pytest -m"not slow" placekey/tests/test_api.py`.
"""
import concurrent
import os
import random
import unittest
Expand Down Expand Up @@ -117,7 +116,7 @@ def test_lookup_placekeys_slow(self):
{'latitude': random.uniform(-90.0, 90.0), 'longitude': random.uniform(0.0, 180.0)}
for _ in range(num_samples)
]
results = self.pk_api.lookup_placekeys(lat_long_samples, verbose=True)
results = self.pk_api.lookup_placekeys(lat_long_samples)
self.assertEqual(len(results), num_samples)
self.assertTrue(all(['placekey' in r for r in results]))

Expand Down

0 comments on commit ce7b387

Please sign in to comment.