Skip to content

Commit

Permalink
Check for non empty, not non null auth token.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdlaird committed Jan 1, 2024
1 parent 428d127 commit 20b5f1c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ confuse>=1.3.0
flask>=1.1.0,<2.0.0
MarkupSafe>=0.23,<2.1.0
click>=7.1.0
pyngrok>=7.0.0
pyngrok>=7.0.5
defusedxml>=0.7.1
2 changes: 2 additions & 0 deletions tests/managedtestcase.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import os
import sys
import time
import unittest
from contextlib import contextmanager
from io import StringIO

Expand Down
4 changes: 4 additions & 0 deletions tests/test_hookee_manager.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import os
import unittest

import requests

from hookee import util
Expand All @@ -8,6 +11,7 @@
__version__ = "2.0.0"


@unittest.skipIf(not os.environ.get("NGROK_AUTHTOKEN"), "NGROK_AUTHTOKEN environment variable not set")
class TestHookeeManager(ManagedTestCase):
def test_http_get_query_params(self):
# GIVEN
Expand Down

0 comments on commit 20b5f1c

Please sign in to comment.