# Default distro is ubuntu, default version of ubuntu is 16.04
self.fake_ctx.os_version = None
distroversion = get_distro_version(self.fake_ctx)
- assert distroversion == '16.04'
+ assert distroversion == '18.04'
def test_argument_version(self):
self.fake_ctx.os_version = '13.04'
def test_choose_reference(self, ref, tag, branch, sha1, expected):
config = dict(
os_type='ubuntu',
- os_version='16.04',
+ os_version='18.04',
)
if ref:
config['ref'] = ref
('rhel', None, None, 'centos7'),
('centos', None, None, 'centos7'),
('fedora', None, None, 'fedora25'),
- ('ubuntu', None, None, 'xenial'),
+ ('ubuntu', None, None, 'bionic'),
('debian', None, None, 'jessie'),
]
('rhel', None, None, 'centos/7'),
('centos', None, None, 'centos/7'),
('fedora', None, None, 'fedora/25'),
- ('ubuntu', None, None, 'ubuntu/16.04'),
+ ('ubuntu', None, None, 'ubuntu/18.04'),
('debian', None, None, 'debian/8.0'),
]