diff options
author | Rob Austein <sra@hactrn.net> | 2014-04-10 22:56:47 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-04-10 22:56:47 +0000 |
commit | 45b95aaadc861b0e682373164fe18fa0c5ed2b2e (patch) | |
tree | 6e415c4dd6b78e84a58ae0038ab9847fb69feafc /rpki/gui/cacheview/tests.py | |
parent | 5e0d1807ca7b049bde262a529443924adfd903e6 (diff) | |
parent | b7459d825cfadb9db265ed1b3bd0c10682464767 (diff) |
Merge tk685 branch back to trunk. This completes the move of the rpki
libraries and rpki.POW module from the rpki-ca package to the rpki-rp
package. Closes #685, closes #633.
svn path=/trunk/; revision=5784
Diffstat (limited to 'rpki/gui/cacheview/tests.py')
-rw-r--r-- | rpki/gui/cacheview/tests.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/rpki/gui/cacheview/tests.py b/rpki/gui/cacheview/tests.py new file mode 100644 index 00000000..2247054b --- /dev/null +++ b/rpki/gui/cacheview/tests.py @@ -0,0 +1,23 @@ +""" +This file demonstrates two different styles of tests (one doctest and one +unittest). These will both pass when you run "manage.py test". + +Replace these with more appropriate tests for your application. +""" + +from django.test import TestCase + +class SimpleTest(TestCase): + def test_basic_addition(self): + """ + Tests that 1 + 1 always equals 2. + """ + self.failUnlessEqual(1 + 1, 2) + +__test__ = {"doctest": """ +Another way to test that 1 + 1 is equal to 2. + +>>> 1 + 1 == 2 +True +"""} + |