Skip to content

Commit

Permalink
tempfile bug in acceptance
Browse files Browse the repository at this point in the history
  • Loading branch information
xmendez committed Sep 20, 2017
1 parent 2481500 commit 472a2f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/acceptance.py
Expand Up @@ -183,7 +183,10 @@ def test_exception(self):

def wfuzz_me_test_generator_recipe(url, payloads, params, expected_list):
def test(self):
(fd, filename) = tempfile.mkstemp()
temp_name = next(tempfile._get_candidate_names())
defult_tmp_dir = tempfile._get_default_tempdir()

filename = os.path.join(defult_tmp_dir, temp_name)

# Wfuzz results
with wfuzz.FuzzSession(url=url, **params) as s :
Expand Down

0 comments on commit 472a2f9

Please sign in to comment.