Skip to content

Instantly share code, notes, and snippets.

@jtomasek
Created October 8, 2013 10:51
Show Gist options
  • Save jtomasek/6882934 to your computer and use it in GitHub Desktop.
Save jtomasek/6882934 to your computer and use it in GitHub Desktop.
FAIL: test_detail_invalid_port_range (openstack_dashboard.dashboards.project.access_and_security.security_groups.tests.SecurityGroupsViewTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jtomasek/horizon/openstack_dashboard/test/helpers.py", line 83, in instance_stub_out
return fn(self)
File "/home/jtomasek/horizon/openstack_dashboard/dashboards/project/access_and_security/security_groups/tests.py", line 356, in test_detail_invalid_port_range
self.assertContains(res, "greater than or equal to")
File "/home/jtomasek/horizon/.venv/lib/python2.7/site-packages/django/test/testcases.py", line 664, in assertContains
msg_prefix + "Couldn't find %s in response" % text_repr)
AssertionError: Couldn't find 'greater than or equal to' in response
u"Couldn't find 'greater than or equal to' in response" = self._formatMessage(u"Couldn't find 'greater than or equal to' in response", "%s is not true" % safe_repr(False))
>> raise self.failureException(u"Couldn't find 'greater than or equal to' in response")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment