Merge branch 'master' of github.com:asmaps/nsupdate.info
This commit is contained in:
commit
2c6b84f59b
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,3 +3,5 @@
|
|||||||
*.pyc
|
*.pyc
|
||||||
local_settings.py
|
local_settings.py
|
||||||
.idea/
|
.idea/
|
||||||
|
.cache/
|
||||||
|
|
||||||
|
11
nsupdate/main/_tests/test_example.py
Normal file
11
nsupdate/main/_tests/test_example.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
"""
|
||||||
|
Tests for xxx module.
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
class Tests(object):
|
||||||
|
def test_basic_addition(self):
|
||||||
|
"""
|
||||||
|
Tests that 1 + 1 always equals 2.
|
||||||
|
"""
|
||||||
|
assert 1 + 1 == 2
|
@ -1,16 +0,0 @@
|
|||||||
"""
|
|
||||||
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)
|
|
Loading…
x
Reference in New Issue
Block a user