mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
17 lines
289 B
Python
17 lines
289 B
Python
from sentry.testutils.abstract import Abstract
|
|
|
|
|
|
def test_abstract():
|
|
class C:
|
|
__test__ = Abstract(__module__, __qualname__)
|
|
|
|
class D(C):
|
|
pass
|
|
|
|
class E(D):
|
|
pass
|
|
|
|
assert C.__test__ is False
|
|
assert D.__test__ is True
|
|
assert E.__test__ is True
|