Skip to content

Commit a423a83

Browse files
authored
Merge pull request #34 from edwinclement08/fix-unit-tests
Fixed an incomplete assert statement
2 parents eb72f78 + 1bc3c48 commit a423a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_multiple(self):
2525
self.local2 = Local(os.environ['BROWSERSTACK_ACCESS_KEY'])
2626
self.local2.start()
2727
except BrowserStackLocalError as e:
28-
self.assertEqual(str(e), "Either another browserstack local client is running on your machine or some server is listening on port 45691")
28+
self.assertRegex(str(e), r'Either another browserstack local client is running on your machine or some server is listening on port 4569[10]')
2929

3030
def test_verbose(self):
3131
self.local.start(v=True, onlyCommand=True)

0 commit comments

Comments
 (0)