File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 3
3
"""
4
4
tests.controllers.controller_test_base
5
5
6
-
6
+
7
7
"""
8
8
9
9
import unittest
@@ -20,13 +20,15 @@ class ControllerTestBase(unittest.TestCase):
20
20
def setUpClass (cls ):
21
21
"""Class method called once before running tests in a test class."""
22
22
cls .api_client = MessageMediaWebhooksClient ()
23
+
23
24
cls .request_timeout = 30
24
25
cls .assert_precision = 0.01
25
26
27
+ Configuration .basic_auth_user_name = os .environ ['MessageMediaApiTestsKey' ]
28
+ Configuration .basic_auth_password = os .environ ['MessageMediaApiTestsSecret' ]
29
+
26
30
27
31
def setUp (self ):
28
32
"""Method called once before every test in a test class."""
29
33
self .response_catcher = HttpResponseCatcher ()
30
34
self .controller .http_call_back = self .response_catcher
31
-
32
-
You can’t perform that action at this time.
0 commit comments