23 lines
380 B
Python
23 lines
380 B
Python
|
|
#!/usr/bin/env python
|
||
|
|
|
||
|
|
import defl
|
||
|
|
import os
|
||
|
|
import sys
|
||
|
|
import platform
|
||
|
|
from defl import log, cl
|
||
|
|
from defl.testing_ import Tester, Test, TestState
|
||
|
|
|
||
|
|
tester = Tester(name=__name__)
|
||
|
|
|
||
|
|
|
||
|
|
@tester.add(assertResult=True)
|
||
|
|
def test1():
|
||
|
|
print(f'{os.name=}')
|
||
|
|
print(f'{sys.platform=}')
|
||
|
|
print(f'{platform.system()=}')
|
||
|
|
return True
|
||
|
|
|
||
|
|
|
||
|
|
log.info(tester.run())
|
||
|
|
tester.exitWithStatus()
|