Skip to content

Commit 92e324e

Browse files
committed
Fixing assert
1 parent bfdbf1e commit 92e324e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utest/test/keywords/test_browsermanagement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_bad_browser_name(self):
6060
bm._make_driver("fireox")
6161
self.fail("Exception not raised")
6262
except ValueError as e:
63-
self.assertEquals(str(e), "fireox is not a supported browser.")
63+
assert str(e) == "fireox is not a supported browser."
6464

6565
def test_create_webdriver(self):
6666
ctx = mock()

0 commit comments

Comments
 (0)