Example #1
0
 def test_edit_collaborators_must_open_editor_environment(self):
     self.useFixture(fixtures.EnvironmentVariable("EDITOR", "test-editor"))
     assertions._edit_developers({})
     self.check_call_mock.assert_called_with(["test-editor", mock.ANY])
Example #2
0
 def test_edit_collaborators_must_open_editor(self):
     self.useFixture(fixtures.EnvironmentVariable('EDITOR', self.editor))
     assertions._edit_developers({})
     self.check_call_mock.assert_called_with([self.expected, mock.ANY])
Example #3
0
 def test_edit_collaborators_must_open_editor(self):
     self.useFixture(fixtures.EnvironmentVariable("EDITOR", self.editor))
     assertions._edit_developers({})
     self.check_call_mock.assert_called_with([self.expected, mock.ANY])