Fork PyRPL on GitHub

Source code for pyrpl.test.test_example

import logging
logger = logging.getLogger(name=__name__)
from .test_base import TestPyrpl


[docs]class TestExample(TestPyrpl):
[docs] def setup(self): self.asg = self.pyrpl.rp.asg0
#you are welcome to change the following silly tests to something useful
[docs] def test_example(self): if 1 > 2: assert False
[docs] def test_example2(self): if self.asg.frequency < 0: assert False
[docs] def test_example3(self): if not self.asg.frequency >= 0: assert False