Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
RECIRCLE
/
portal
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
11
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
15d24c7f
authored
Jul 31, 2019
by
Bodor Máté
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-ci' into 'DEV'
Fix ci See merge request
!13
parents
b50c79c7
cdf7bf74
Pipeline
#797
passed with stage
in 1 minute 22 seconds
Changes
11
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
45 additions
and
17 deletions
+45
-17
.gitlab-ci.yml
+4
-8
Pipfile
+1
-0
Pipfile.lock
+0
-0
recircle/image/tests.py
+5
-2
recircle/instance/migrations/0010_merge_20190731_1215.py
+14
-0
recircle/instance/tests.py
+5
-2
recircle/interface_openstack
+1
-1
recircle/recircle/settings/base.py
+1
-0
recircle/recircle/settings/local.py
+4
-0
recircle/storage/tests.py
+5
-2
recircle/template/tests.py
+5
-2
No files found.
.gitlab-ci.yml
View file @
15d24c7f
image
:
python:3.6
stages
:
-
lint
-
test
before_script
:
-
pip install pipenv
-
pipenv install -d
-
git submodule sync --recursive
-
git submodule update --init --recursive
flake8
:
stage
:
lint
script
:
-
pipenv run flake8
-
pip install flake8
-
flake8
test
:
script
:
-
pip install pipenv
-
pipenv install -d
-
cd recircle
-
pipenv run python manage.py test
Pipfile
View file @
15d24c7f
...
...
@@ -8,6 +8,7 @@ httpie = "*"
flake8 = "*"
django-rest-swagger = "*"
coverage = "*"
django-nose = "*"
[packages]
django = "*"
...
...
Pipfile.lock
View file @
15d24c7f
This diff is collapsed.
Click to expand it.
recircle/image/tests.py
View file @
15d24c7f
#
from django.test import TestCase
from
django.test
import
TestCase
# Create your tests here.
class
ImageTest
(
TestCase
):
def
test_test
(
self
):
self
.
assertEqual
(
""
,
""
)
recircle/instance/migrations/0010_merge_20190731_1215.py
0 → 100644
View file @
15d24c7f
# Generated by Django 2.2.3 on 2019-07-31 12:15
from
django.db
import
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'instance'
,
'0009_auto_20190715_0929'
),
(
'instance'
,
'0009_auto_20190715_1354'
),
]
operations
=
[
]
recircle/instance/tests.py
View file @
15d24c7f
#
from django.test import TestCase
from
django.test
import
TestCase
# Create your tests here.
class
InstanceTest
(
TestCase
):
def
test_test
(
self
):
self
.
assertEqual
(
""
,
""
)
interface_openstack
@
e01d873c
Subproject commit
abe7a47367d285b98066243cf1f0e9c5454955d2
Subproject commit
e01d873c78ac17fed0438936f979de3cbaca6a5e
recircle/recircle/settings/base.py
View file @
15d24c7f
...
...
@@ -41,6 +41,7 @@ INSTALLED_APPS = [
"djoser"
,
"rest_framework_swagger"
,
"corsheaders"
,
"django_nose"
,
]
LOCAL_APPS
=
[
...
...
recircle/recircle/settings/local.py
View file @
15d24c7f
...
...
@@ -11,3 +11,6 @@ for i in LOCAL_APPS:
ADMIN_ENABLED
=
True
ALLOWED_HOSTS
=
[
'*'
]
TEST_RUNNER
=
'django_nose.NoseTestSuiteRunner'
NOSE_ARGS
=
LOCAL_APPS
\ No newline at end of file
recircle/storage/tests.py
View file @
15d24c7f
#
from django.test import TestCase
from
django.test
import
TestCase
# Create your tests here.
class
StorageTest
(
TestCase
):
def
test_test
(
self
):
self
.
assertEqual
(
""
,
""
)
recircle/template/tests.py
View file @
15d24c7f
#
from django.test import TestCase
from
django.test
import
TestCase
# Create your tests here.
class
TemplateTest
(
TestCase
):
def
test_test
(
self
):
self
.
assertEqual
(
""
,
""
)
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