Skip to content

Commit

Permalink
test: fix obtaining token from env
Browse files Browse the repository at this point in the history
  • Loading branch information
scanpatch committed Sep 2, 2021
1 parent 24d776c commit 6e12361
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/client_test.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import unittest
import responses
import os

from spyse import Client, SearchQuery, QueryParam, ASSearchParams, DomainSearchParams, Operators


class TestSpyse(unittest.TestCase):
def setUp(self) -> None:
self.client = Client("test-key")
self.client = Client(os.getenv("SPYSE_API_TOKEN"))

@responses.activate
def test_get_quotas(self):
Expand Down

0 comments on commit 6e12361

Please sign in to comment.