(arch, release, pkg_type)
This is used to default to:
- ('x86_64', 'precise', 'deb') when passed 'ubuntu' and 'plana'
+ ('x86_64', 'trusty', 'deb') when passed 'ubuntu' and 'plana'
('armv7l', 'saucy', 'deb') when passed 'ubuntu' and 'saya'
('x86_64', 'wheezy', 'deb') when passed 'debian'
('x86_64', 'fedora20', 'rpm') when passed 'fedora'
release = 'saucy'
arch = 'armv7l'
else:
- release = 'precise'
+ release = 'trusty'
elif distro == 'debian':
release = 'wheezy'
pkg_type = 'deb'
#Default distro is ubuntu, default version of ubuntu is 12.04
self.fake_ctx.os_version = None
distroversion = get_distro_version(self.fake_ctx)
- assert distroversion == '12.04'
+ assert distroversion == '14.04'
def test_argument_version(self):
self.fake_ctx.os_version = '13.04'
def test_distro_defaults_plana(self):
assert suite.get_distro_defaults('ubuntu', 'plana') == ('x86_64',
- 'precise',
+ 'trusty',
'deb')
def test_distro_defaults_debian(self):