mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-30 00:30:35 +00:00
25 lines
856 B
Python
25 lines
856 B
Python
|
class singleton(object):
|
||
|
|
||
|
def __init__(self, name):
|
||
|
self.name = name
|
||
|
|
||
|
def __repr__(self):
|
||
|
return '<%s>' % self.name
|
||
|
|
||
|
__str__ = __repr__
|
||
|
|
||
|
not_there = singleton('not_there')
|
||
|
|
||
|
from testfixtures.comparison import (
|
||
|
Comparison, StringComparison, RoundComparison, compare, diff, RangeComparison
|
||
|
)
|
||
|
from testfixtures.tdatetime import test_datetime, test_date, test_time
|
||
|
from testfixtures.logcapture import LogCapture, log_capture
|
||
|
from testfixtures.outputcapture import OutputCapture
|
||
|
from testfixtures.resolve import resolve
|
||
|
from testfixtures.replace import Replacer, Replace, replace
|
||
|
from testfixtures.shouldraise import ShouldRaise, should_raise, ShouldAssert
|
||
|
from testfixtures.shouldwarn import ShouldWarn, ShouldNotWarn
|
||
|
from testfixtures.tempdirectory import TempDirectory, tempdir
|
||
|
from testfixtures.utils import wrap, generator
|