Skip to content

Commit

Permalink
clean up tests / add shapes files
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdamusic committed Dec 16, 2021
1 parent 03b7337 commit 2466fab
Show file tree
Hide file tree
Showing 24 changed files with 16,065 additions and 132 deletions.
12 changes: 12 additions & 0 deletions docs/pages/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

Summary of changes.


## December, 2021: v 1.9.9.4

- Remove deprecated `Ontospy.__computeTopLayer`
- Refactor `Ontospy.get_class` and related methods so to have less duplicated code
- Added `Ontospy.get_shapes`
- Refactor `Ontospy.nextClass` and related methods so to have less duplicated code
- Refactor `Ontospy.ontologyClassTree` and related methods so to have less duplicated code
- Improve `Ontospy.get_shapes` so that it enforces URI uniqueness only among shapes URIs. This sets the ground for [pull-107](https://github.com/lambdamusic/Ontospy/pull/107).
- Refactor tests code and clean up tests rdf folder
- Add `uco_monolithic.ttl` and `scigraph` for shapes tests

## December, 2021: v 1.9.9.3

- Fix bug: https://github.com/lambdamusic/Ontospy/issues/105
Expand Down
3 changes: 1 addition & 2 deletions ontospy/tests/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@
import os

dir_path = os.path.dirname(os.path.realpath(__file__))
TEST_RDF_FOLDER = dir_path + "/rdf/"
TEST_SHAPES_FOLDER = dir_path + "/shapes/"
TEST_RDF_FOLDER = dir_path + "/rdf/"
3 changes: 1 addition & 2 deletions ontospy/tests/quick.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@

import click

import unittest, os, sys
from .. import *
from ..core import *
from ..core.utils import *


from .context import TEST_RDF_FOLDER, TEST_SHAPES_FOLDER
from .context import TEST_RDF_FOLDER


# sanity check
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 2466fab

Please sign in to comment.