We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 439d0b3 commit adbc0daCopy full SHA for adbc0da
tests/test_client.py
@@ -12,6 +12,7 @@
12
CRUD functions. These tests always use a mock http connection so not not
13
need a live server to run against."""
14
15
+import configparser
16
import base64
17
import datetime
18
import json
@@ -180,7 +181,7 @@ def test_read_config(self):
180
181
"""Validate that config values are properly coerced."""
182
this_dir = os.path.dirname(os.path.realpath(__file__))
183
config_path = os.path.join(this_dir, "test_config_file")
- config = base.ConfigParser()
184
+ config = configparser.ConfigParser()
185
config.read(config_path)
186
result = config.get("SERVER_INFO", "api_key")
187
expected = "%abce"
0 commit comments