Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
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
Hide 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
...
@@ -18,3 +18,5 @@ _build
# Logs:
# Logs:
*.log
*.log
.ropeproject
.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 = {
...
@@ -16,3 +16,9 @@ DATABASES = {
"PORT"
:
""
,
"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