class MyTest(MyMeta): p = parameter() v = variable(int) f = fixture(MyFixture) bind(ext_fn, name='ext') run_before('run')(ext) run_after('run')(ext) require_deps(ext) deferrable(ext) sanity_function(ext) v = required final(ext) performance_function('some_units')(ext) def __init__(self): assert not hasattr(self, 'parameter') assert not hasattr(self, 'variable') assert not hasattr(self, 'fixture') assert not hasattr(self, 'bind') assert not hasattr(self, 'run_before') assert not hasattr(self, 'run_after') assert not hasattr(self, 'require_deps') assert not hasattr(self, 'deferrable') assert not hasattr(self, 'sanity_function') assert not hasattr(self, 'required') assert not hasattr(self, 'final') assert not hasattr(self, 'performance_function')
class MyTest(MyMeta): p = parameter() v = variable(int) bind(ext_fn, name='ext') run_before('run')(ext) run_after('run')(ext) require_deps(ext) deferrable(ext) sanity_function(ext) v = required def __init__(self): assert not hasattr(self, 'parameter') assert not hasattr(self, 'variable') assert not hasattr(self, 'bind') assert not hasattr(self, 'run_before') assert not hasattr(self, 'run_after') assert not hasattr(self, 'require_deps') assert not hasattr(self, 'deferrable') assert not hasattr(self, 'sanity_function') assert not hasattr(self, 'required')