Skip to content

Commit

Permalink
Cosmetic changes while trying to figure out what was wrong with build h…
Browse files Browse the repository at this point in the history
  • Loading branch information
andresriancho committed Feb 5, 2015
1 parent 1747e79 commit e424d20
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions w3af/plugins/tests/crawl/test_user_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

class TestUserDir(PluginTest):

target_url = 'http://moth/'
target_url = 'http://httpretty/'

_run_configs = {
'cfg': {
Expand All @@ -52,8 +52,9 @@ def test_fuzzer_user(self):
EXPECTED_NAMES = {'Web user home directory',
'Fingerprinted operating system',
'Identified installed application'}
EXPECTED_URLS = {'http://moth/~www/', 'http://moth/~kmem/',
'http://moth/xfs/'}
EXPECTED_URLS = {'http://httpretty/~www/',
'http://httpretty/~kmem/',
'http://httpretty/xfs/'}

self.assertEqual(EXPECTED_NAMES, set(u.get_name() for u in users))
self.assertEqual(EXPECTED_URLS, set(str(u.get_url()) for u in users))

0 comments on commit e424d20

Please sign in to comment.