23 lines
380 B
Python
Executable File
23 lines
380 B
Python
Executable File
#!/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()
|