We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c120d8 commit 2a84215Copy full SHA for 2a84215
1 file changed
tests/test_api.py
@@ -13,7 +13,7 @@
13
from happybase import Connection, ConnectionPool, NoConnectionsAvailable
14
15
HAPPYBASE_HOST = os.environ.get('HAPPYBASE_HOST')
16
-HAPPYBASE_PORT = os.environ.get('HAPPYBASE_PORT')
+HAPPYBASE_PORT = int(os.environ['HAPPYBASE_PORT']) if 'HAPPYBASE_PORT' in os.environ else None
17
HAPPYBASE_COMPAT = os.environ.get('HAPPYBASE_COMPAT', '0.98')
18
HAPPYBASE_TRANSPORT = os.environ.get('HAPPYBASE_TRANSPORT', 'buffered')
19
KEEP_TABLE = ('HAPPYBASE_NO_CLEANUP' in os.environ)
0 commit comments