mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-15 23:00:57 +00:00
Make avatar test pass, ans add some other basic tests.
This commit is contained in:
@@ -5,12 +5,19 @@ when you run "manage.py test".
|
||||
Replace this with more appropriate tests for your application.
|
||||
"""
|
||||
|
||||
from django.test import TestCase
|
||||
# from django.test import TestCase
|
||||
|
||||
|
||||
class SimpleTest(TestCase):
|
||||
def test_basic_addition(self):
|
||||
"""
|
||||
Tests that 1 + 1 always equals 2.
|
||||
"""
|
||||
# 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)
|
||||
|
Reference in New Issue
Block a user