Skip to content

Commit

Permalink
adds dummy failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom O'Hara committed Sep 30, 2023
1 parent e0698d5 commit a6ab4c3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion mezcla/tests/test_bing_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,16 @@
class TestBingSearch:
"""Class for testcase definition"""

## TODO: TESTS WORK-IN-PROGRESS
@pytest.mark.xfail # TODO: remove xfail
def test_data_file(self):
"""Makes sure TODO works as expected"""
debug.trace(4, f"TestIt.test_data_file(); self={self}")
data = ["TODO1", "TODO2"]
system.write_lines(self.temp_file, data)
## TODO: add use_stdin=True to following if no file argument
output = self.run_script(options="", data_file=self.temp_file)
assert my_re.search(r"TODO-pattern", output.strip())
return


if __name__ == '__main__':
Expand Down

0 comments on commit a6ab4c3

Please sign in to comment.