24
24
def test_returns_boot_sources_and_selections(self):
25
25
keyring = factory.make_bytes()
30
30
expected = source.to_dict()
31
31
self.assertEqual([expected], get_boot_sources(nodegroup.uuid))
33
33
def test_removes_os_from_boot_source_selections(self):
34
34
keyring = factory.make_bytes()
39
39
expected = source.to_dict()
40
40
del expected['selections'][0]['os']