Convert relevant tests to testscenarios

Registered by Michael Still

Python's testscenarios support allows us to remove boiler plate code in some tests, and in other cases to report more unique errors. An example scenario test:

+++++

from testscenarios import TestWithScenarios

scenario1 = ('basic', {'attribute': 'value'})
scenario2 = ('advanced', {'attribute': 'value2'})

class SampleWithScenarios(TestWithScenarios):

    scenarios = [scenario1, scenario2]

    def test_demo(self):
        self.assertIsInstance(self.attribute, str)

+++++

This blueprint is to track changes which are converting tests to scenarios.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Michael Still
Direction:
Needs approval
Assignee:
Michael Still
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.