Skip to content

Instantly share code, notes, and snippets.

@pdmack
Created January 9, 2015 14:03
Show Gist options
  • Save pdmack/ecc053460aaed610df7f to your computer and use it in GitHub Desktop.
Save pdmack/ecc053460aaed610df7f to your computer and use it in GitHub Desktop.
https v http assert
======================================================================
FAIL: proboscis.case.MethodTest (confirm_flavors_lists_nearly_identical)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
compatability.capture_type_error(s_func)
File "/usr/local/lib/python2.7/dist-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
func()
File "/usr/local/lib/python2.7/dist-packages/proboscis/case.py", line 350, in func
func(test_case.state.get_state())
File "/opt/stack/trove/trove/tests/api/flavors.py", line 138, in confirm_flavors_lists_nearly_identical
assert_link_list_is_equal(flavor)
File "/opt/stack/trove/trove/tests/api/flavors.py", line 76, in assert_link_list_is_equal
assert_true(href.startswith(url), msg)
AssertionError: REL HREF https://10.211.55.9:8779/v1.0/591f3b3f5e534d09a775c24ca2cb2a50/flavors/1 doesn't start with http://10.0.0.1:8779/v1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment