~hazmat/pyjuju/lxc-killpid

« back to all changes in this revision

Viewing changes to juju/control/tests/test_constraints_set.py

Removes duplicate stderr direct output on the cli

Also fixed many tests which relied on it.

A=therve
R=hazmat

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
        self.assertIn(
42
42
            "Bad 'arch' constraint 'proscenium': unknown architecture",
43
 
            self.stderr.getvalue())
 
43
            self.output.getvalue())
44
44
 
45
45
        constraints = yield self.service_state.get_constraints()
46
46
        self.assertEquals(constraints, initial_constraints)
75
75
 
76
76
        self.assertIn(
77
77
            "Constraints are not valid in legacy deployments.",
78
 
            self.stderr.getvalue())
 
78
            self.output.getvalue())