diff options
| author | Tang Chen <chen.tang@easystack.cn> | 2016-05-05 15:12:18 +0800 |
|---|---|---|
| committer | Steve Martinelli <s.martinelli@gmail.com> | 2016-05-06 03:42:27 +0000 |
| commit | f91685f391cce2699ba6e4f2577a84e12d590aba (patch) | |
| tree | a24623112d4a2fef5b9b12722bb0cb6194e947d8 /openstackclient/tests/network/v2/test_router.py | |
| parent | 461a203f2d0e653eabe9a023cfdbe90669ff0618 (diff) | |
| download | python-openstackclient-f91685f391cce2699ba6e4f2577a84e12d590aba.tar.gz | |
Remove unnecessary type conversions in network unit tests
In some tests, when comparing the results data with the
expected ones, many unnecessary type conversions are used.
So remove them to clean up.
Change-Id: I560ca78a3ab5e7b99087bfe1667de500f92c68de
Partial-bug: #1550633
Diffstat (limited to 'openstackclient/tests/network/v2/test_router.py')
| -rw-r--r-- | openstackclient/tests/network/v2/test_router.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/tests/network/v2/test_router.py b/openstackclient/tests/network/v2/test_router.py index e3f32e4a..ead919b2 100644 --- a/openstackclient/tests/network/v2/test_router.py +++ b/openstackclient/tests/network/v2/test_router.py @@ -608,5 +608,5 @@ class TestShowRouter(TestRouter): self.network.find_router.assert_called_once_with( self._router.name, ignore_missing=False) - self.assertEqual(tuple(self.columns), columns) + self.assertEqual(self.columns, columns) self.assertEqual(self.data, data) |
