[Bug 1293467] Re: Tests are not available or not run during package build
Robie Basak
1293467 at bugs.launchpad.net
Mon Mar 17 10:22:57 UTC 2014
Upon further investigation, it looks like test_jujuclient.py assumes
that a juju environment is set up already, and that it is on EC2:
def test_juju_info(self):
self.assertEqual(
self.client.info(),
{'DefaultSeries': 'precise',
'Name': 'iaas-stage',
'ProviderType': 'ec2'})
I'm not sure on this, though. If the tests supported the local provider,
then we could potentially run dep8 tests in a KVM environment. Better,
the tests could mock out juju itself to test its own functionality.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-jujuclient in Ubuntu.
https://bugs.launchpad.net/bugs/1293467
Title:
Tests are not available or not run during package build
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jujuclient/+bug/1293467/+subscriptions
More information about the Ubuntu-server-bugs
mailing list