extend trade regex for "I'd"

This commit is contained in:
2021-05-09 17:36:09 +02:00
parent 0f95e53cdc
commit 12773f1543
2 changed files with 10 additions and 1 deletions

View File

@@ -18,3 +18,12 @@ def test_write_to_log_2():
text = ' 2021/05/09 15:25:21 14716218 bad [INFO Client 15632] @From iveseee: Hi, I would like to buy your 2 Ancient Orb for my 28 Chaos Orb in Ultimatum.'
with open(log_file, 'a') as f:
f.write(text)
def test_write_to_log_3():
config.read_config(r'config.yaml')
log_file = config.get_value('General.log_file')
assert(log_file)
text = "2021/05/09 17:18:05 21480531 bad [INFO Client 15632] @From <ABC> DYNVMIT: Hi, I'd like to buy your 42 Simulacrum Splinter for my 28 Chaos Orb in Ultimatum."
with open(log_file, 'a') as f:
f.write(text)