Skip to content

Commit

Permalink
Merge branch 'porridge-dogtail-pipes'
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudd-O committed Oct 8, 2024
2 parents 52f437f + 562f6a1 commit 34fb261
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 34fb261

Please sign in to comment.