https://github.com/TylerBackman/chemminetools
Raw File
Tip revision: 1896c2dd7362f44193528aef028390543a125921 authored by Austin Leong on 05 April 2021, 18:10:10 UTC
Drug Target Search Graph development preview (expect to revert)
Tip revision: 1896c2d
tests.py
#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
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
"""}

back to top