Skip to content

Commit

Permalink
Merge branch 'dogtail-pipes' of github.com:porridge/ledgerhelpers int…
Browse files Browse the repository at this point in the history
…o porridge-dogtail-pipes
  • Loading branch information
Rudd-O committed Oct 8, 2024
2 parents 52f437f + eb9f47a commit 562f6a1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/dogtail/addtrans.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
# Dogtail test script for addtrans.

import os
import shlex
import tempfile

from shlex import quote

from dogtail import config
from dogtail import tree
from dogtail.procedural import type
Expand Down Expand Up @@ -34,11 +33,11 @@
2015-10-05 * beer
Assets:Cash -30 CHF
Expenses:Drinking 30 CHF
""")
""".encode())
t.flush()
t.seek(0, 0)

run('addtrans --file %s' % quote(t.name))
run(shlex.join(['addtrans', '--file', t.name]))
addtrans = tree.root.application('addtrans')
mainwin = addtrans.window('Add transaction')

Expand Down

0 comments on commit 562f6a1

Please sign in to comment.