From 71804444d44712ff36087f9ce7337f2af7f67db9 Mon Sep 17 00:00:00 2001 From: reedip Date: Mon, 22 Feb 2016 11:16:37 +0900 Subject: [PATCH] Fix assertNotEqual parameters One parameter shuffle for assertNotEqual was missed being converted to ( expected, obeserved ). This patch fixes the parameter order. TrivialFix Change-Id: I1a24d97b2b0fdc1c456520c917484333cf92618f --- neutronclient/tests/unit/test_cli20.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutronclient/tests/unit/test_cli20.py b/neutronclient/tests/unit/test_cli20.py index 5407e7b..725e80f 100644 --- a/neutronclient/tests/unit/test_cli20.py +++ b/neutronclient/tests/unit/test_cli20.py @@ -699,7 +699,7 @@ class ClientV2TestJson(CLITestV20Base): try: self.client.do_request('GET', '/test', body='', params=params) except exceptions.RequestURITooLong as cm: - self.assertNotEqual(cm.excess, 0) + self.assertNotEqual(0, cm.excess) else: self.fail('Expected exception NOT raised')