Skip to content

Instantly share code, notes, and snippets.

@nigelbabu
Created December 6, 2011 22:15
Show Gist options
  • Save nigelbabu/1440282 to your computer and use it in GitHub Desktop.
Save nigelbabu/1440282 to your computer and use it in GitHub Desktop.
Test
@patch('input.FIREFOX')
def test(fx):
"""Given a specific version_list
fx.default_version = '8.0.9'
r = self.client.get('/')
doc = pq(r.content)
eq_(doc('input#version').howeveryoufigureoutwhatsselected, '8.0.9')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment