Skip to content

Test fails: testdir: issue_5 fails on test_cells_have_expected_values #8

@aalmiramolla

Description

@aalmiramolla

Steps to reproduce:

  • Clone this repo
  • cd python-iwlist
  • `$ sudo python3 -m unittest discover -v
    test_cells_dont_have_extra_keys (test.TestParse) ... ok
    test_cells_have_all_expected_keys (test.TestParse) ... ok
    test_cells_have_expected_values (test.TestParse) ... FAIL
    test_parse_length (test.TestParse) ... ok

======================================================================
FAIL: test_cells_have_expected_values (test.TestParse)

Traceback (most recent call last):
File "/home/pi/python-iwlist/test.py", line 60, in test_cells_have_expected_values
self.assertTrue(ev == pv, msg)
AssertionError: False is not true :
wrong value for field:
testdir: issue_5
field: encryption
cellnumber: 10
expected: on
actual: wpa2


Ran 4 tests in 0.050s

FAILED (failures=1)
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions