mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Tests: Inherited basetest class from Taskwarrior
This commit is contained in:
parent
dc42d2038e
commit
84e2579e03
7 changed files with 731 additions and 0 deletions
16
test/basetest/testing.py
Normal file
16
test/basetest/testing.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import unittest
|
||||
import sys
|
||||
|
||||
class BaseTestCase(unittest.TestCase):
|
||||
def tap(self, out):
|
||||
sys.stderr.write("--- tap output start ---\n")
|
||||
for line in out.splitlines():
|
||||
sys.stderr.write(line + '\n')
|
||||
sys.stderr.write("--- tap output end ---\n")
|
||||
|
||||
class TestCase(BaseTestCase):
|
||||
pass
|
||||
|
||||
# vim: ai sts=4 et sw=4
|
Loading…
Add table
Add a link
Reference in a new issue