tests/unit/test_config.py fails

Bug #802883 reported by Isaku Yamahata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Isaku Yamahata

Bug Description

tests/unit/test_config.py fails when extra options are passed to run_tests.py

  The first test in test_config.TestConfig.test_parse_options tests
  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

Revision history for this message
Isaku Yamahata (yamahata) wrote :
Thierry Carrez (ttx)
Changed in glance:
status: New → Fix Committed
milestone: none → diablo-3
Jay Pipes (jaypipes)
Changed in glance:
importance: Undecided → Low
assignee: nobody → Isaku Yamahata (yamahata)
Thierry Carrez (ttx)
Changed in glance:
milestone: diablo-3 → 2011.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.