pvl.hosts.tests: tweak etc/zones/forward/test ordering..
authorTero Marttila <terom@paivola.fi>
Sun, 01 Mar 2015 19:41:38 +0200
changeset 660 5461fb492345
parent 659 68654d028ec0
child 661 15946375b154
pvl.hosts.tests: tweak etc/zones/forward/test ordering..
pvl/hosts/tests.py
--- a/pvl/hosts/tests.py	Sun Mar 01 19:41:25 2015 +0200
+++ b/pvl/hosts/tests.py	Sun Mar 01 19:41:38 2015 +0200
@@ -142,15 +142,15 @@
     def testApplyIncludePath(self):
         self.options.hosts_include = 'etc/hosts'
         self.assertHostsEqual(config.apply_hosts_files(self.options, ['etc/zones/forward/test']), [
-                ('quux@asdf.test', dict(
-                    ip          = ipaddr.IPAddress('192.0.2.5'),
-                )),
                 ('foo@test', dict(
                     ip          = ipaddr.IPAddress('192.0.2.1'),
                 )),
                 ('bar@test', dict(
                     ip          = ipaddr.IPAddress('192.0.2.2'),
                 )),
+                ('quux@asdf.test', dict(
+                    ip          = ipaddr.IPAddress('192.0.2.5'),
+                )),
         ])
 
     def testApply(self):