green border when entered
This commit is contained in:
@@ -53,4 +53,13 @@ def test_write_to_log_42():
|
||||
assert (log_file)
|
||||
text = "2021/05/11 23:34:41 13600796 bad [INFO Client 9008] @From <CHIP> HenryHase: Hi, I would like to buy your Cortex Relic Chambers Map (T15) listed for 3.4 exalted in Ultimatum (stash tab \"$\"; position: left 3, top 9)"
|
||||
with open(log_file, 'a') as f:
|
||||
f.write(text)
|
||||
f.write(text)
|
||||
|
||||
|
||||
def test_write_entered():
|
||||
config.read_config(r'config.yaml')
|
||||
log_file = config.get_value('General.log_file')
|
||||
assert (log_file)
|
||||
text = r'2023/05/21 22:39:25 28761078 cffb0719 [INFO Client 13392] : Sinusal has joined the area.'
|
||||
with open(log_file, 'a') as f:
|
||||
f.write(text)
|
||||
|
||||
Reference in New Issue
Block a user