Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
8 changes: 4 additions & 4 deletions src/app.py → entityshape/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
from flask_cors import CORS
from requests import Response

from src.comparejsonld import CompareJSONLD
from src.compareshape import CompareShape
from src.shape import Shape
from src.getjsonld import JSONLDShape
from entityshape.comparejsonld import CompareJSONLD
from entityshape.compareshape import CompareShape
from entityshape.shape import Shape
from entityshape.getjsonld import JSONLDShape

app = Flask(__name__)
CORS(app)
Expand Down
4 changes: 2 additions & 2 deletions src/comparejsonld.py → entityshape/comparejsonld.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import requests
from requests import Response

from src.compareproperties import CompareProperties
from src.comparestatements import CompareStatements
from entityshape.compareproperties import CompareProperties
from entityshape.comparestatements import CompareStatements


class CompareJSONLD:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from src.utilities import Utilities
from entityshape.utilities import Utilities


class CompareProperties:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Tuple, Any

from src.utilities import Utilities
from entityshape.utilities import Utilities


class CompareStatements:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_compare_properties.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from src.comparejsonld import CompareProperties
from entityshape.comparejsonld import CompareProperties


class TestCompareProperties(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_compare_statements.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from src.comparejsonld import CompareStatements
from entityshape.comparejsonld import CompareStatements


class TestCompareStatements(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_compare_v1_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import requests

from src.app import app
from entityshape.app import app


class CompareV1V2(unittest.TestCase):
Expand Down
8 changes: 4 additions & 4 deletions tests/test_jsonld.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"""
import unittest

from src.comparejsonld import CompareJSONLD
from src.compareshape import CompareShape
from src.shape import Shape
from src.getjsonld import JSONLDShape
from entityshape.comparejsonld import CompareJSONLD
from entityshape.compareshape import CompareShape
from entityshape.shape import Shape
from entityshape.getjsonld import JSONLDShape


class JSONLDCase(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import requests

from src.app import app
from entityshape.app import app


class MyTestCase(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_utilities.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from src.utilities import Utilities
from entityshape.utilities import Utilities


class UtilitiesTests(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import requests

from src.app import app
from entityshape.app import app


class V1Tests(unittest.TestCase):
Expand Down