Update tests, ensure caller is passed through in another delegated app.log call

This commit is contained in:
Darren Burns
2022-04-12 14:29:59 +01:00
parent 7f96b650b8
commit ec0ce30b49
5 changed files with 24 additions and 18 deletions

View File

@@ -46,12 +46,11 @@ class BasicApp(App):
self.log(self.screen.tree)
def action_print(self):
print("Hello, world!", "another", self.screen.tree)
print("A new print statement")
print(
"Printed using builtin [b blue]print[/] function:",
self.screen.tree,
sep=" - ",
)
BasicApp.run(css_file="uber.css", log="textual.log", log_verbosity=1)
# if __name__ == '__main__':
# print(b"Hello, world!", "another", end="")
# time.sleep(5)