~wesley-wiedenmeier/curtin/uefi-test

url_helper: raise import error on lack of oauth only when oauth is used

Previously url_helper.py would raise exception if no oauth module
was present. That is definitely reasonable.

However, in the jenkins 'vmtest' test environment there was no oauth
available. Everything else would have been fine, and only
'curtin pack' is executed from the host. It feels like curtin pack
is sane to want to run with minimal dependencies.

I do definitely want to be careful with the dynamic manner here.
However, outside of MAAS reporter using oauth, it really is a unlikely
path to be hit. And MAAS's use case is still satisfied because
--install-deps is provided.
Filename Latest Rev Last Changed Committer Comment Size
..
bin 7 10 years ago Scott Moser initial stub multi-command Diff
curtin 7 10 years ago Scott Moser initial stub multi-command Diff
debian 9 10 years ago Scott Moser add initial packaging Diff
doc 2 11 years ago Scott Moser very rough initial doc using sphynx. Diff
examples 45 10 years ago Scott Moser add examples dir Diff
helpers 25 10 years ago Scott Moser block-meta simple now partitions with 'partition' Diff
tests 8 10 years ago Scott Moser make test (with 1 test) Diff
tools 8 10 years ago Scott Moser make test (with 1 test) Diff
.bzrignore 228 8 years ago Scott Moser add tox for easier testing 23 bytes Diff Download File
LICENSE 6 10 years ago Scott Moser add LICENSE file 33.7 KB Diff Download File
Makefile 318.1.1 8 years ago Scott Moser vmtests: invoke nosetests3 with --nologcapture Wh 932 bytes Diff Download File
README 1 11 years ago Scott Moser initial README 163 bytes Diff Download File
requirements.txt 239.1.1 8 years ago Scott Moser initial commit 123 bytes Diff Download File
setup.py 254.1.1 8 years ago Scott Moser add reporter.legacy to modules 768 bytes Diff Download File
test-requirements.txt 228 8 years ago Scott Moser add tox for easier testing 10 bytes Diff Download File
tox.ini 249.1.1 8 years ago Scott Moser add docs rule to Makefile and 'tox -e docs' This 895 bytes Diff Download File