Add test webelem.__eq__ with other type

This commit is contained in:
Florian Bruhin 2016-07-28 17:19:52 +02:00
parent 56515321dd
commit 80d4af0da2

View File

@ -341,6 +341,9 @@ class TestWebElementWrapper:
two = webelem.WebElementWrapper(one._elem)
assert one == two
def test_eq_other_type(self):
assert get_webelem() != object()
@pytest.mark.parametrize('attributes, expected', [
({'one': '1', 'two': '2'}, {'one', 'two'}),
({}, set()),