Support currency trade

This commit is contained in:
2021-05-09 16:18:37 +02:00
parent fcf65b7c10
commit 6e99de90a6
3 changed files with 21 additions and 9 deletions

View File

@@ -9,3 +9,12 @@ def test_write_to_log():
'listed for 18 chaos in Ritual (stash tab "$"; position: left 22, top 5)'
with open(log_file, 'a') as f:
f.write(text)
def test_write_to_log_2():
config.read_config(r'config.yaml')
log_file = config.get_value('General.log_file')
assert(log_file)
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)