Merge lp:~jtv/maas-test/copy-file into lp:maas-test
Proposed by
Jeroen T. Vermeulen
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jeroen T. Vermeulen | ||||
Approved revision: | 151 | ||||
Merged at revision: | 146 | ||||
Proposed branch: | lp:~jtv/maas-test/copy-file | ||||
Merge into: | lp:maas-test | ||||
Diff against target: |
245 lines (+102/-22) 4 files modified
maastest/kvmfixture.py (+29/-5) maastest/testing/factory.py (+33/-0) maastest/tests/test_kvmfixture.py (+32/-1) maastest/tests/test_maasfixture.py (+8/-16) |
||||
To merge this branch: | bzr merge lp:~jtv/maas-test/copy-file | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | Approve | ||
Review via email: mp+214879@code.launchpad.net |
Commit message
New KVMFixture method: upload_file, needed for uploading bootresources.yaml. Also, move make_file() test helper into a new factory module.
Description of the change
This is preparation for fixing bug 1302608.
Jeroen
To post a comment you must log in.
This looks basically OK.
I am a little confused on how Python lets you have two make_file functions in test_maasfixtur e.py. Why don't you just import the one you need?