Skip to content

Commit cab37b4

Browse files
committed
an extra test for heroku
1 parent cb6fd7f commit cab37b4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎stream/tests.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ def test_heroku(self):
4343
self.assertEqual(client.api_key, 'thierry')
4444
self.assertEqual(client.api_secret, 'pass')
4545
self.assertEqual(client.site_id, '1')
46+
47+
def test_heroku_real(self):
48+
url = 'https://bvt88g4kvc63:twc5ywfste5bm2ngqkzs7ukxk3pn96yweghjrxcmcrarnt3j4dqj3tucbhym5wfd@getstream.io/?site=669'
49+
os.environ['STREAM_URL'] = url
50+
client = stream.connect()
51+
self.assertEqual(client.api_key, 'bvt88g4kvc63')
52+
self.assertEqual(client.api_secret, 'twc5ywfste5bm2ngqkzs7ukxk3pn96yweghjrxcmcrarnt3j4dqj3tucbhym5wfd')
53+
self.assertEqual(client.site_id, '669')
4654

4755
def test_heroku_overwrite(self):
4856
url = 'https://thierry:pass@getstream.io/?site=1'

0 commit comments

Comments
 (0)