This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Not installing bash completion because of lack of permissions.
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
writing wifi.egg-info/PKG-INFO
writing dependency_links to wifi.egg-info/dependency_links.txt
writing entry points to wifi.egg-info/entry_points.txt
writing requirements to wifi.egg-info/requires.txt
writing top-level names to wifi.egg-info/top_level.txt
reading manifest file 'wifi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'wifi.egg-info/SOURCES.txt'
running build_ext
test_empty_init (tests.test_init.CorrectInitTest) ... ERROR
test_absolute_quality (tests.test_parsing.IWListParserTest) ... ok
test_alternative_iwlist_output (tests.test_parsing.IWListParserTest) ... ok
test_blank_ssid (tests.test_parsing.IWListParserTest) ... ok
test_frequency_no_channel_output (tests.test_parsing.IWListParserTest) ... ok
test_list_index_error (tests.test_parsing.IWListParserTest) ... ok
test_no_channel_output (tests.test_parsing.IWListParserTest) ... ok
test_no_encryption (tests.test_parsing.IWListParserTest) ... ok
test_noise_data_present (tests.test_parsing.IWListParserTest) ... ok
test_noise_no_data (tests.test_parsing.IWListParserTest) ... ok
test_noname_cell (tests.test_parsing.IWListParserTest) ... ok
test_signal_level_out_of_sixty (tests.test_parsing.IWListParserTest) ... ok
test_wep (tests.test_parsing.IWListParserTest) ... ok
test_wpa1 (tests.test_parsing.IWListParserTest) ... ok
test_wpa2 (tests.test_parsing.IWListParserTest) ... ok
test_scanning (tests.test_parsing.ScanningTest) ... ok
test_failed_connection (tests.test_schemes.TestActivation) ... ok
test_successful_connection (tests.test_schemes.TestActivation) ... ok
test_unencrypted (tests.test_schemes.TestForCell) ... ok
test_wep_ascii (tests.test_schemes.TestForCell) ... ok
test_wep_hex (tests.test_schemes.TestForCell) ... ok
test_wpa (tests.test_schemes.TestForCell) ... ok
test_wpa2 (tests.test_schemes.TestForCell) ... ok
test_delete (tests.test_schemes.TestSchemes) ... ok
test_find (tests.test_schemes.TestSchemes) ... ok
test_save (tests.test_schemes.TestSchemes) ... ok
test_scheme_extraction (tests.test_schemes.TestSchemes) ... ok
test_str (tests.test_schemes.TestSchemes) ... ok
test_with_different_interface (tests.test_schemes.TestSchemes) ... ok
test_with_hyphen (tests.test_schemes.TestSchemes) ... ok
test_match (tests.test_utils.FuzzyMatchTest) ... ok
test_lengths_formatted_correctly (tests.test_utils.PrintTableTest) ... ok
test_no_failure_with_non_strs (tests.test_utils.PrintTableTest) ... ok
test_db2dbm (tests.test_utils.db2dbMTest) ... ok
======================================================================
ERROR: test_empty_init (tests.test_init.CorrectInitTest)
Traceback (most recent call last):
File "/home/extremo/hobby/development/mygit/wifi/tests/test_init.py", line 21, in test_empty_init
for field, value in self.fields.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'
Ran 34 tests in 0.146s
FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=34 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=34 errors=1 failures=0>