Skip to content

Commit

Permalink
adding test for the last change
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeis committed Nov 2, 2013
1 parent 4a6e28b commit 0f407b7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions py/test/selenium/webdriver/common/proxy_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ def testCanNotChangeInitializedProxyType(self):
raise Exception("Change of already initialized proxy type should raise exception")
except Exception as e:
pass

proxy = Proxy(raw={'proxyType': ProxyType.DIRECT})
try:
proxy.proxy_type = ProxyType.SYSTEM
raise Exception("Change of already initialized proxy type should raise exception")
except Exception as e:
pass

def testCanInitManualProxy(self):
proxy = Proxy(raw=self.MANUAL_PROXY)
Expand Down

0 comments on commit 0f407b7

Please sign in to comment.