mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-01 17:32:21 +00:00
24 lines
544 B
Python
24 lines
544 B
Python
"""
|
|
This file demonstrates writing tests using the unittest module. These will pass
|
|
when you run "manage.py test".
|
|
|
|
Replace this 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.assertEqual(1 + 1, 2)
|
|
|
|
|
|
from django.utils import unittest
|
|
|
|
class SimpleTestCase(unittest.TestCase):
|
|
def test_base_addition(self):
|
|
self.assertEqual(1 + 1, 2)
|