~1chb1n/charms/trusty/neutron-api/calico-amulet

« back to all changes in this revision

Viewing changes to unit_tests/test_neutron_api_utils.py

  • Committer: Cory Benfield
  • Date: 2014-12-02 16:33:49 UTC
  • Revision ID: cory.benfield@metaswitch.com-20141202163349-64p4vngakmd2d0c5
Fix broken unit tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
 
171
171
    def test_additional_install_locations_calico(self):
172
172
        nutils.additional_install_locations('Calico')
173
 
        self.add_source.assert_any_call('ppa:cory-benfield/project-calico')
174
 
        self.add_source.assert_any_call('ppa:cz.nic-labs/bird')
175
 
        self.assertEquals(self.add_source.call_count, 2)
 
173
        self.add_source.assert_called_with('ppa:cory-benfield/project-calico')
176
174