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-notes
Commits
ecdb0baa
Commit
ecdb0baa
authored
Jan 21, 2019
by
Laury Bueno
Browse files
Initial commit
parents
Pipeline
#6871
failed with stages
Changes
43
Pipelines
1
Hide 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 @
ecdb0baa
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
test_django-courses-notes
------------
Tests for `django-courses-notes` models module.
"""
from
django.test
import
TestCase
from
django_courses_notes
import
models
class
TestDjango_courses_notes
(
TestCase
):
def
setUp
(
self
):
pass
def
test_something
(
self
):
pass
def
tearDown
(
self
):
pass
tests/urls.py
0 → 100644
View file @
ecdb0baa
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
,
absolute_import
from
django.conf.urls
import
url
,
include
urlpatterns
=
[
url
(
r
'^'
,
include
(
'django_courses_notes.urls'
,
namespace
=
'django_courses_notes'
)),
]
tox.ini
0 → 100644
View file @
ecdb0baa
[tox]
envlist
=
{py34,py35,py36}-django-20
[testenv]
setenv
=
PYTHONPATH
=
{toxinidir}:{toxinidir}/django_courses_notes
commands
=
coverage run --source django_courses_notes 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