mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Tests: Updated template with example commands
This commit is contained in:
parent
eb06efc92a
commit
155845e5c7
1 changed files with 5 additions and 8 deletions
|
@ -35,23 +35,20 @@ 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(a, b)
|
||||
# self.assertIsNot(substring, text)
|
||||
# self.assertIsNone(x)
|
||||
# self.assertIsNotNone(x)
|
||||
# self.assertIn(a, b)
|
||||
# self.assertNotIn(a, b)
|
||||
# self.assertIsInstance(a, b)
|
||||
# self.assertNotIsInstance(a, b)
|
||||
# self.assertIn(substring, text)
|
||||
# self.assertNotIn(substring, text
|
||||
# self.assertRaises(e)
|
||||
# self.assertRegexpMatches(t, r)
|
||||
# self.assertNotRegexpMatches(t, r)
|
||||
# self.assertRegexpMatches(text, pattern)
|
||||
# self.assertNotRegexpMatches(text, pattern)
|
||||
# self.tap("")
|
||||
|
||||
class TestBugNumber(TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue