Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
89209580
authored
Nov 09, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
circle: set up testing
parent
2ca3fcdc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
16 deletions
+8
-16
.gitignore
+2
-0
circle/acl/tests.py
+0
-16
circle/circle/settings/test.py
+6
-0
No files found.
.gitignore
View file @
89209580
...
...
@@ -18,3 +18,5 @@ _build
# Logs:
*.log
.ropeproject
.coverage
*,cover
circle/acl/tests.py
deleted
100644 → 0
View file @
2ca3fcdc
"""
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
)
circle/circle/settings/test.py
View file @
89209580
...
...
@@ -16,3 +16,9 @@ DATABASES = {
"PORT"
:
""
,
},
}
SOUTH_TESTS_MIGRATE
=
False
INSTALLED_APPS
+=
(
'acl.tests'
,
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment