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
import pytest | |
def read_file(): | |
print("Running read_file") | |
with open("test.txt", "r") as test_file: | |
data = test_file.read() | |
print("DATA: {}".format(data if data else "[[[[EMPTY]]]]")) | |
return data | |
def write_file(data): |