Skip to content

Commit

Permalink
test CAP_API_KEY can be wrong string
Browse files Browse the repository at this point in the history
  • Loading branch information
mscarey committed May 20, 2021
1 parent 039f183 commit d695235
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@
from authorityspoke.io.readers import read_decision

from authorityspoke import Entity, Predicate, Comparison
from nettlesome import Statement

load_dotenv()

CAP_API_KEY = os.getenv("CAP_API_KEY") or ""
CAP_API_KEY = os.getenv("CAP_API_KEY") or "wrong key"


class TestIntroduction:
Expand All @@ -28,7 +27,6 @@ class TestIntroduction:

client = CAPClient(api_token=CAP_API_KEY)

# @pytest.mark.skip(reason="uses API call")
@pytest.mark.vcr
def test_download_case(self):
oracle_download = self.client.fetch_cite(cite="750 F.3d 1339", full_case=True)
Expand Down

0 comments on commit d695235

Please sign in to comment.