467
459
def test_get_preseed_context_archive_refs(self):
468
460
# urlparse lowercases the hostnames. That should not have any
469
461
# impact but for testing, create lower-case hostnames.
472
464
Config.objects.set_config('main_archive', main_archive)
473
465
Config.objects.set_config('ports_archive', ports_archive)
474
466
nodegroup = factory.make_node_group(maas_url=factory.make_string())