Skip to content

Commit

Permalink
Agregué la app core y una prueba para verificar el pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
engeldevelopment committed Aug 10, 2020
1 parent 1a05fbf commit 21f58f2
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 0 deletions.
Binary file modified .coverage
Binary file not shown.
2 changes: 2 additions & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ def root(*dirs):
'django.contrib.staticfiles',
'rest_framework',
'corsheaders',

'marvel.core',
]

MIDDLEWARE = [
Expand Down
Empty file added marvel/core/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions marvel/core/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
5 changes: 5 additions & 0 deletions marvel/core/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.apps import AppConfig


class CoreConfig(AppConfig):
name = 'core'
Empty file.
3 changes: 3 additions & 0 deletions marvel/core/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
Empty file added marvel/core/tests/__init__.py
Empty file.
7 changes: 7 additions & 0 deletions marvel/core/tests/test_models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from django.test import TestCase


class CharacterTest(TestCase):

def test_value_to_true(self):
self.assertTrue(True)
3 changes: 3 additions & 0 deletions marvel/core/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.shortcuts import render

# Create your views here.

0 comments on commit 21f58f2

Please sign in to comment.