Merge lp:~mrazik/cupstream2distro-config/testing into lp:cupstream2distro-config
Proposed by
Martin Mrazik
Status: | Merged |
---|---|
Approved by: | Francis Ginther |
Approved revision: | 17 |
Merged at revision: | 11 |
Proposed branch: | lp:~mrazik/cupstream2distro-config/testing |
Merge into: | lp:cupstream2distro-config |
Diff against target: |
115 lines (+71/-8) 4 files modified
c2dconfigutils/c2dconfigutils.py (+7/-0) daily-release/cu2d-update-stack (+1/-8) tests/run_tests.sh (+11/-0) tests/test_c2dconfigutils.py (+52/-0) |
To merge this branch: | bzr merge lp:~mrazik/cupstream2distro-config/testing |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis Ginther | Approve | ||
Jean-Baptiste Lallement | Approve | ||
Didier Roche-Tolomelli | Approve | ||
Review via email: mp+150813@code.launchpad.net |
Commit message
Bootstrapping tests with coverage for dict_union
Description of the change
Bootstrapping tests with coverage for dict_union
To post a comment you must log in.
The no_default_ fasttrack scenario is failing and I don't know if it is a bug or an expected result:
mmrazik@ fry:/tmp/ cupstream2distr o-config$ autopilot run tests distro- config
Loading tests from: /tmp/cupstream2
Tests running... ======= ======= ======= ======= ======= ======= ======= ======= ======= c2dconfigutils. TestDictUnion. test_dict_ union(no_ default_ fasttrack) ------- ------- ------- ------- ------- ------- ------- ------- ------- 2distro- config/ tests/test_ c2dconfigutils. py", line 50, in test_dict_union union(self. result_ dict, self.other_dict) 2distro- config/ c2dconfigutils. py", line 7, in dict_union union(subdict, val) 2distro- config/ c2dconfigutils. py", line 7, in dict_union union(subdict, val) 2distro- config/ c2dconfigutils. py", line 6, in dict_union dict.setdefault (key, {})
=======
ERROR: tests.test_
-------
Traceback (most recent call last):
File "/tmp/cupstream
dict_
File "/tmp/cupstream
dict_
File "/tmp/cupstream
dict_
File "/tmp/cupstream
subdict = result_
AttributeError: 'set' object has no attribute 'setdefault'
Ran 5 tests in 0.001s
FAILED (failures=1)