Commit 8958035a authored by Joanne Hugé's avatar Joanne Hugé

recipe/test_re6stnet: fix and update serial certification test

parent 68b4503e
Pipeline #20573 failed with stage
...@@ -109,13 +109,18 @@ class Re6stnetTest(unittest.TestCase): ...@@ -109,13 +109,18 @@ class Re6stnetTest(unittest.TestCase):
recipe = self.new_recipe() recipe = self.new_recipe()
serial = recipe.getSerialFromIpv6(ipv6) serial = recipe.getSerialFromIpv6(ipv6)
self.assertEqual(serial, '0x1be280db8fe6a0d8504fe054a00ae0aea') self.assertEqual(serial, '0x1be280db8fe6a0d85')
ipv6 = '2001:db8:24::/48' ipv6 = '2001:db8:24::/48'
serial = recipe.getSerialFromIpv6(ipv6) serial = recipe.getSerialFromIpv6(ipv6)
self.assertEqual(serial, '0x120010db80024') self.assertEqual(serial, '0x120010db80024')
ipv6 = '2001:db8:24::/47'
serial = recipe.getSerialFromIpv6(ipv6)
self.assertEqual(serial, '0x900086dc0012')
def test_install(self): def test_install(self):
self.options.update({ self.options.update({
'ipv6-prefix': '2001:db8:24::/48', 'ipv6-prefix': '2001:db8:24::/48',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment