SoyuzScript needs more test coverage

Bug #172869 reported by Julian Edwards
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

testFinishProcedure in test_soyuzscript.py currently does not test user confirmation in _getUserConfirmation(). This could be accomplished with a mock method that we can control separately to simulate user input.

Changed in soyuz:
importance: Undecided → Low
milestone: none → 1.2.1
status: New → Confirmed
Revision history for this message
Julian Edwards (julian-edwards) wrote :

Going further, you could parameterize _getUserConfirmation's use of
raw_input and supply a callable that returned a pre-programmed
sequence of answers.

Changed in soyuz:
milestone: 1.2.1 → 1.2.3
Changed in soyuz:
milestone: 1.2.3 → none
Curtis Hovey (sinzui)
tags: added: tech-debt
Curtis Hovey (sinzui)
visibility: private → public
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.