xiekeyang / oci-discovery

Contain the OCI Ref-engine Discovery specification and related specifications as an extention to the image specification.
Other
2 stars 1 forks source link

oci_discovery/fetch_json/test: Fix undefined expected #58

Closed wking closed 7 years ago

wking commented 7 years ago

In test_redirect, avoiding:

$ make test-python
…
Traceback (most recent call last):
  File "/.../oci_discovery/fetch_json/test.py", line 166, in test_redirect
    self.assertEqual(fetched, {'uri': final_uri, 'json': expected})
NameError: name 'expected' is not defined
…

Fixing a copy/paste error from #55.

xiekeyang commented 7 years ago

LGTM