def test_ie_env_custom(self): env = helpers.get_ie_env(options=dict( port=1234, timeout=10, )) self.assertEquals(1234, env.get_port()) self.assertEquals(10, env.get_timeout())
def test_ie_env_default(self): env = helpers.get_ie_env() self.assertEquals(None, env.get_port()) self.assertEquals(None, env.get_timeout())