-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Functions were renamed to be pep-8 conformant: pytest-dev/pyfakefs#186
- Loading branch information
1 parent
8d2ba62
commit 57f5099
Showing
23 changed files
with
211 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,8 +44,8 @@ def setUp(self): | |
]) | ||
|
||
test_utils.set_up_pyfakefs(self) | ||
self.fs.CreateDirectory('/input') | ||
self.fs.CreateDirectory('/output') | ||
self.fs.create_dir('/input') | ||
self.fs.create_dir('/output') | ||
|
||
environment.set_value('BUILD_DIR', '/build_dir') | ||
environment.set_value('FAIL_RETRIES', 1) | ||
|
@@ -56,7 +56,7 @@ def setUp(self): | |
self.mock.get_fuzz_targets.return_value = [ | ||
'/build_dir/target', | ||
] | ||
self.fs.CreateFile( | ||
self.fs.create_file( | ||
'/build_dir/target.owners', | ||
contents='[email protected]\n[email protected]') | ||
|
||
|
@@ -87,7 +87,7 @@ def test_run(self): | |
|
||
def test_run_with_labels(self): | ||
"""Test running an engine fuzzer with a labels file.""" | ||
self.fs.CreateFile('/build_dir/target.labels', contents='label1\nlabel2\n') | ||
self.fs.create_file('/build_dir/target.labels', contents='label1\nlabel2\n') | ||
|
||
fuzzer = TestEngineFuzzer() | ||
result = fuzzer.run('/input', '/output', 1) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.