Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MOOC packages by hacklab
django-courses
Commits
7ea4d509
Commit
7ea4d509
authored
Jan 21, 2019
by
Laury Bueno
Browse files
Initial commit
parents
Pipeline
#6866
failed with stages
Changes
43
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
0 deletions
+50
-0
tests/test_models.py
tests/test_models.py
+25
-0
tests/urls.py
tests/urls.py
+9
-0
tox.ini
tox.ini
+16
-0
No files found.
tests/test_models.py
0 → 100644
View file @
7ea4d509
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_django-courses
------------
Tests for `django-courses` models module.
"""
from
django.test
import
TestCase
from
django_courses
import
models
class
TestDjango_courses
(
TestCase
):
def
setUp
(
self
):
pass
def
test_something
(
self
):
pass
def
tearDown
(
self
):
pass
tests/urls.py
0 → 100644
View file @
7ea4d509
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
,
absolute_import
from
django.conf.urls
import
url
,
include
urlpatterns
=
[
url
(
r
'^'
,
include
(
'django_courses.urls'
,
namespace
=
'django_courses'
)),
]
tox.ini
0 → 100644
View file @
7ea4d509
[tox]
envlist
=
{py34,py35,py36}-django-20
[testenv]
setenv
=
PYTHONPATH
=
{toxinidir}:{toxinidir}/django_courses
commands
=
coverage run --source django_courses runtests.py
deps
=
django-20:
Django>=2.0,<2.1
-r{toxinidir}/requirements_test.txt
basepython
=
py36:
python3.6
py35:
python3.5
py34:
python3.4
py27:
python2.7
Prev
1
2
3
Next
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