ordertests.py 867 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # -*- test-case-name: twisted.trial.test.test_script -*-
  2. # Copyright (c) Twisted Matrix Laboratories.
  3. # See LICENSE for details.
  4. """
  5. Tests for handling of trial's --order option.
  6. """
  7. from twisted.trial import unittest
  8. class FooTest(unittest.TestCase):
  9. """
  10. Used to make assertions about the order its tests will be run in.
  11. """
  12. def test_first(self):
  13. pass
  14. def test_second(self):
  15. pass
  16. def test_third(self):
  17. pass
  18. def test_fourth(self):
  19. pass
  20. class BazTest(unittest.TestCase):
  21. """
  22. Used to make assertions about the order the test cases in this module are
  23. run in.
  24. """
  25. def test_baz(self):
  26. pass
  27. class BarTest(unittest.TestCase):
  28. """
  29. Used to make assertions about the order the test cases in this module are
  30. run in.
  31. """
  32. def test_bar(self):
  33. pass