tests/unit/test_config.py fails
Bug #802883 reported by
Isaku Yamahata
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Isaku Yamahata |
Bug Description
tests/unit/
The first test in test_config.
no options are specified. But it checks sys.argv when default parameter
is used. So it fails when some parameter is passed to run_test.py.
So pass empty list to the parser as argument explicitly in order to
make it pass independent sys.argv.
Related branches
lp:~yamahata/glance/lp802883
- Christopher MacGown (community): Approve
- Jay Pipes (community): Approve
- Brian Lamar (community): Needs Information
-
Diff: 48 lines (+6/-3)3 files modifiedAuthors (+1/-0)
run_tests.py (+4/-2)
tests/unit/test_config.py (+1/-1)
Changed in glance: | |
status: | New → Fix Committed |
milestone: | none → diablo-3 |
Changed in glance: | |
importance: | Undecided → Low |
assignee: | nobody → Isaku Yamahata (yamahata) |
Changed in glance: | |
milestone: | diablo-3 → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.