Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

unittest.py 937B

1 year ago
123456789101112131415161718192021222324252627282930313233343536373839
  1. # -*- test-case-name: twisted.trial.test -*-
  2. # Copyright (c) Twisted Matrix Laboratories.
  3. # See LICENSE for details.
  4. """
  5. Things likely to be used by writers of unit tests.
  6. """
  7. from twisted.trial._asyncrunner import TestDecorator, TestSuite, decorate
  8. from twisted.trial._asynctest import TestCase
  9. # Define the public API from the two implementation modules
  10. from twisted.trial._synctest import (
  11. FailTest,
  12. PyUnitResultAdapter,
  13. SkipTest,
  14. SynchronousTestCase,
  15. Todo,
  16. makeTodo,
  17. )
  18. # Further obscure the origins of these objects, to reduce surprise (and this is
  19. # what the values were before code got shuffled around between files, but was
  20. # otherwise unchanged).
  21. FailTest.__module__ = SkipTest.__module__ = __name__
  22. __all__ = [
  23. "decorate",
  24. "FailTest",
  25. "makeTodo",
  26. "PyUnitResultAdapter",
  27. "SkipTest",
  28. "SynchronousTestCase",
  29. "TestCase",
  30. "TestDecorator",
  31. "TestSuite",
  32. "Todo",
  33. ]