mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Tests: Updated with example commands
This commit is contained in:
parent
7231fd3e73
commit
29e87c9dfe
1 changed files with 16 additions and 0 deletions
16
test/quiet.t
16
test/quiet.t
|
@ -35,6 +35,22 @@ sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
|||
|
||||
from basetest import Timew, TestCase
|
||||
|
||||
# Test methods available:
|
||||
# self.assertEqual(a, b)
|
||||
# self.assertNotEqual(a, b)
|
||||
# self.assertTrue(x)
|
||||
# self.assertFalse(x)
|
||||
# self.assertIs(a, b)
|
||||
# self.assertIsNot(substring, text)
|
||||
# self.assertIsNone(x)
|
||||
# self.assertIsNotNone(x)
|
||||
# self.assertIn(substring, text)
|
||||
# self.assertNotIn(substring, text
|
||||
# self.assertRaises(e)
|
||||
# self.assertRegexpMatches(text, pattern)
|
||||
# self.assertNotRegexpMatches(text, pattern)
|
||||
# self.tap("")
|
||||
|
||||
class TestQuietMode(TestCase):
|
||||
def setUp(self):
|
||||
"""Executed before each test in the class"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue