diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-05-27 15:57:45 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-05-27 15:57:45 -0400 |
commit | 3f5b6386e80e0b31e6adcb7db1859a115a3184df (patch) | |
tree | 0f6b5e019b74822015d466aacd844a15d17f801b /tests | |
parent | 75109ffd12ad4dcbbccf1b0603506efcae413433 (diff) | |
download | vyos-cloud-init-3f5b6386e80e0b31e6adcb7db1859a115a3184df.tar.gz vyos-cloud-init-3f5b6386e80e0b31e6adcb7db1859a115a3184df.zip |
assertEqual
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unittests/test_datasource/test_smartos.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittests/test_datasource/test_smartos.py b/tests/unittests/test_datasource/test_smartos.py index 96d7346f..9eb06f5f 100644 --- a/tests/unittests/test_datasource/test_smartos.py +++ b/tests/unittests/test_datasource/test_smartos.py @@ -216,7 +216,7 @@ class TestSmartOSDataSource(FilesystemMockingTestCase): dsrc = self._get_ds(mockdata=MOCK_RETURNS) ret = dsrc.get_data() self.assertTrue(ret) - self.assertEquals(json.loads(MOCK_RETURNS['sdc:nics']), + self.assertEqual(json.loads(MOCK_RETURNS['sdc:nics']), dsrc.metadata['network-data']) def test_sdc_scripts(self): @@ -536,4 +536,4 @@ class TestNetworkConversion(TestCase): 'address': '192.168.128.93/22'}], 'mtu': 8500, 'mac_address': '90:b8:d0:a5:ff:cd'}]} found = DataSourceSmartOS.convert_smartos_network_data(SDC_NICS) - self.assertEquals(expected, found) + self.assertEqual(expected, found) |