Tests located in 'nailgun/nailgun/test/unit/test_network_template_validator.py' and 'nailgun/nailgun/test/unit/test_network_network_validator.py' have a lot of duplicated logic. It needs to be refactored to follow DRY concept.
Tests located in 'nailgun/ nailgun/ test/unit/ test_network_ template_ validator. py' and 'nailgun/ nailgun/ test/unit/ test_network_ network_ validator. py' have a lot of duplicated logic. It needs to be refactored to follow DRY concept.