The ShellCheck bear doesn't check *.py file line lengths.
Change-Id: I8e1c065f579531d2797fa61ab22af49120a27663
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
def test_carbon_release_url(self):
"""Test URL of the ODL Carbon release."""
def test_carbon_release_url(self):
"""Test URL of the ODL Carbon release."""
url = "%s/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.0-Carbon/distribution-karaf-0.6.0-Carbon.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
url = "%s/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.0-Carbon/distribution-karaf-0.6.0-Carbon.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
def test_carbon_release_zip_url(self):
"""Test URL of the ODL Carbon release zip archive."""
def test_carbon_release_zip_url(self):
"""Test URL of the ODL Carbon release zip archive."""
url = "%s/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.0-Carbon/distribution-karaf-0.6.0-Carbon.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
url = "%s/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.0-Carbon/distribution-karaf-0.6.0-Carbon.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
def test_carbon_sr1_release_url(self):
"""Test URL of the ODL Carbon SR1 release."""
def test_carbon_sr1_release_url(self):
"""Test URL of the ODL Carbon SR1 release."""
url = "%s/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.1-Carbon/distribution-karaf-0.6.1-Carbon.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
url = "%s/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.1-Carbon/distribution-karaf-0.6.1-Carbon.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
def test_carbon_sr1_release_zip_url(self):
"""Test URL of the ODL Carbon SR1 release zip archive."""
def test_carbon_sr1_release_zip_url(self):
"""Test URL of the ODL Carbon SR1 release zip archive."""
url = "%s/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.1-Carbon/distribution-karaf-0.6.1-Carbon.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
url = "%s/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.1-Carbon/distribution-karaf-0.6.1-Carbon.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
def test_nitrogen_release_url(self):
"""Test URL of the ODL Nitrogen release."""
def test_nitrogen_release_url(self):
"""Test URL of the ODL Nitrogen release."""
url = "%s/opendaylight.release/org/opendaylight/integration/karaf/0.7.0/karaf-0.7.0.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
url = "%s/opendaylight.release/org/opendaylight/integration/karaf/0.7.0/karaf-0.7.0.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
def test_nitrogen_release_zip_url(self):
"""Test URL of the ODL Nitrogen release zip archive."""
def test_nitrogen_release_zip_url(self):
"""Test URL of the ODL Nitrogen release zip archive."""
url = "%s/opendaylight.release/org/opendaylight/integration/karaf/0.7.0/karaf-0.7.0.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
url = "%s/opendaylight.release/org/opendaylight/integration/karaf/0.7.0/karaf-0.7.0.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
def test_carbon_autorelease_url(self):
"""Test URL of an ODL Carbon autorelease build."""
def test_carbon_autorelease_url(self):
"""Test URL of an ODL Carbon autorelease build."""
url = "%s/autorelease-1996/org/opendaylight/integration/distribution-karaf/0.6.2-Carbon/distribution-karaf-0.6.2-Carbon.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
url = "%s/autorelease-1996/org/opendaylight/integration/distribution-karaf/0.6.2-Carbon/distribution-karaf-0.6.2-Carbon.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
def test_carbon_autorelease_zip_url(self):
"""Test URL of an ODL Carbon autorelease build zip archive."""
def test_carbon_autorelease_zip_url(self):
"""Test URL of an ODL Carbon autorelease build zip archive."""
url = "%s/autorelease-1996/org/opendaylight/integration/distribution-karaf/0.6.2-Carbon/distribution-karaf-0.6.2-Carbon.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
url = "%s/autorelease-1996/org/opendaylight/integration/distribution-karaf/0.6.2-Carbon/distribution-karaf-0.6.2-Carbon.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
def test_nitrogen_autorelease_url(self):
"""Test URL of an ODL Nitrogen autorelease build."""
def test_nitrogen_autorelease_url(self):
"""Test URL of an ODL Nitrogen autorelease build."""
url = "%s/autorelease-1991/org/opendaylight/integration/karaf/0.7.0/karaf-0.7.0.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
url = "%s/autorelease-1991/org/opendaylight/integration/karaf/0.7.0/karaf-0.7.0.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
def test_nitrogen_autorelease_zip_url(self):
"""Test URL of an ODL Nitrogen autorelease build zip archive."""
def test_nitrogen_autorelease_zip_url(self):
"""Test URL of an ODL Nitrogen autorelease build zip archive."""
url = "%s/autorelease-1991/org/opendaylight/integration/karaf/0.7.0/karaf-0.7.0.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
url = "%s/autorelease-1991/org/opendaylight/integration/karaf/0.7.0/karaf-0.7.0.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
def test_carbon_snapshot_url(self):
"""Test URL of an ODL Carbon snapshot build."""
def test_carbon_snapshot_url(self):
"""Test URL of an ODL Carbon snapshot build."""
url = "%s/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.6.2-SNAPSHOT/distribution-karaf-0.6.2-20171003.084929-847.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
url = "%s/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.6.2-SNAPSHOT/distribution-karaf-0.6.2-20171003.084929-847.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
def test_carbon_snapshot_zip_url(self):
"""Test URL of an ODL Carbon snapshot build zip archive."""
def test_carbon_snapshot_zip_url(self):
"""Test URL of an ODL Carbon snapshot build zip archive."""
url = "%s/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.6.2-SNAPSHOT/distribution-karaf-0.6.2-20171003.084929-847.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
url = "%s/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf/0.6.2-SNAPSHOT/distribution-karaf-0.6.2-20171003.084929-847.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
def test_nitrogen_snapshot_url(self):
"""Test URL of an ODL Nitrogen snapshot build."""
def test_nitrogen_snapshot_url(self):
"""Test URL of an ODL Nitrogen snapshot build."""
url = "%s/opendaylight.snapshot/org/opendaylight/integration/karaf/0.7.0-SNAPSHOT/karaf-0.7.0-20170927.033128-2013.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
url = "%s/opendaylight.snapshot/org/opendaylight/integration/karaf/0.7.0-SNAPSHOT/karaf-0.7.0-20170927.033128-2013.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
def test_nitrogen_snapshot_zip_url(self):
"""Test URL of an ODL Nitrogen snapshot build zip archive."""
def test_nitrogen_snapshot_zip_url(self):
"""Test URL of an ODL Nitrogen snapshot build zip archive."""
url = "%s/opendaylight.snapshot/org/opendaylight/integration/karaf/0.7.0-SNAPSHOT/karaf-0.7.0-20170927.033128-2013.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
url = "%s/opendaylight.snapshot/org/opendaylight/integration/karaf/0.7.0-SNAPSHOT/karaf-0.7.0-20170927.033128-2013.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
def test_oxygen_snapshot_url(self):
"""Test URL of an ODL Oxygen snapshot build."""
def test_oxygen_snapshot_url(self):
"""Test URL of an ODL Oxygen snapshot build."""
url = "%s/opendaylight.snapshot/org/opendaylight/integration/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20170928.142221-597.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "8")
url = "%s/opendaylight.snapshot/org/opendaylight/integration/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20170928.142221-597.tar.gz" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "8")
def test_oxygen_snapshot_zip_url(self):
"""Test URL of an ODL Oxygen snapshot build zip archive."""
def test_oxygen_snapshot_zip_url(self):
"""Test URL of an ODL Oxygen snapshot build zip archive."""
url = "%s/opendaylight.snapshot/org/opendaylight/integration/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20170928.142221-597.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "8")
url = "%s/opendaylight.snapshot/org/opendaylight/integration/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20170928.142221-597.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "8")
def test_carbon_multipatch_zip_url(self):
"""Test URL of an ODL Carbon multipatch-test build zip archive."""
def test_carbon_multipatch_zip_url(self):
"""Test URL of an ODL Carbon multipatch-test build zip archive."""
url = "%s/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/distribution-karaf/0.6.2-SNAPSHOT/distribution-karaf-0.6.2-20171002.113256-59.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
url = "%s/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/distribution-karaf/0.6.2-SNAPSHOT/distribution-karaf-0.6.2-20171002.113256-59.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "6")
def test_nitrogen_multipatch_zip_url(self):
"""Test URL of an ODL Nitrogen multipatch-test build zip archive."""
def test_nitrogen_multipatch_zip_url(self):
"""Test URL of an ODL Nitrogen multipatch-test build zip archive."""
url = "%s/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.7.1-SNAPSHOT/karaf-0.7.1-20171003.134117-9.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
url = "%s/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.7.1-SNAPSHOT/karaf-0.7.1-20171003.134117-9.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "7")
def test_oxygen_multipatch_zip_url(self):
"""Test URL of an ODL Oxygen multipatch-test build zip archive."""
def test_oxygen_multipatch_zip_url(self):
"""Test URL of an ODL Oxygen multipatch-test build zip archive."""
url = "%s/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20171003.122621-24.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "8")
url = "%s/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20171003.122621-24.zip" % self.nexus_url
version = lib.extract_version(url)
self.assertEqual(version["version_major"], "8")