Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

models_asa is broken in Python3.2 #14

Closed
mpenning opened this issue Jan 25, 2015 · 1 comment
Closed

models_asa is broken in Python3.2 #14

mpenning opened this issue Jan 25, 2015 · 1 comment
Assignees

Comments

@mpenning
Copy link
Owner

For now, I am removing Python3.2 from the Travis CI config...

(py32_test)[mpenning@tsunami fast]$ make test
cd ciscoconfparse; python ciscoconfparse.py; ./runtests.sh
................................
----------------------------------------------------------------------
Ran 32 tests in 0.061s

OK
.....FFF
======================================================================
FAIL: testL4Object_asa_lt01 (__main__.knownValues)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_Ccp_Util.py", line 56, in testL4Object_asa_lt01
    self.assertEqual(pp.port_list, range(1, 7))
AssertionError: range(1, 7) != range(1, 7)

======================================================================
FAIL: testL4Object_asa_lt02 (__main__.knownValues)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_Ccp_Util.py", line 61, in testL4Object_asa_lt02
    self.assertEqual(pp.port_list, range(1, 7))
AssertionError: range(1, 7) != range(1, 7)

======================================================================
FAIL: testL4Object_asa_range01 (__main__.knownValues)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_Ccp_Util.py", line 51, in testL4Object_asa_range01
    self.assertEqual(pp.port_list, range(25, 33))
AssertionError: range(25, 33) != range(25, 33)

----------------------------------------------------------------------
Ran 8 tests in 0.002s

FAILED (failures=3)
..........................................
----------------------------------------------------------------------
Ran 42 tests in 0.209s

OK
...F.
======================================================================
FAIL: testVal_object_group_service_02 (__main__.knownValues)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_Models_Asa.py", line 172, in testVal_object_group_service_02
    self.assertEqual(obj.ports, result_correct)
AssertionError: Lists differ: [<L4Object tcp [25]>, <L4Objec... != [<L4Object tcp [25]>, <L4Objec...

First differing element 2:
<L4Object tcp range(8080, 8082)>
<L4Object tcp range(8080, 8082)>

  [<L4Object tcp [25]>, <L4Object tcp [443]>, <L4Object tcp range(8080, 8082)>]

----------------------------------------------------------------------
Ran 5 tests in 0.008s

FAILED (failures=1)
make: *** [test] Error 1
(py32_test)[mpenning@tsunami fast]$
@mpenning mpenning self-assigned this Jan 25, 2015
@mpenning mpenning added the bug label Jan 25, 2015
mpenning added a commit that referenced this issue Jan 25, 2015
--HG--
branch : ciscoconfparse
@mpenning
Copy link
Owner Author

Duplicate of Github issue #35

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant