Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eleftherioszisis committed Aug 4, 2024
1 parent eae9d42 commit c65ee24
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/unit/test_registering.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from blue_cwl import registering as test_module
from blue_cwl.testing import patchenv
from blue_cwl.utils import write_json, load_json
from kgforge.core import Resource

from entity_management import nexus
from entity_management.atlas import AtlasBrainRegion, AtlasRelease
Expand Down Expand Up @@ -336,12 +335,14 @@ def upload_file(name, data, *args, **kwargs):

volume = res.cellCompositionVolume

assert volume.atlasRelease == atlas_release
assert volume.atlasRelease.get_id() == atlas_release.get_id()
assert volume.atlasRelease.get_rev() == atlas_release.get_rev()
assert volume.brainLocation == atlas_release.brainLocation
assert volume.distribution.name == "volume_file.json"

summary = res.cellCompositionSummary
assert summary.atlasRelease == atlas_release
assert summary.atlasRelease.get_id() == atlas_release.get_id()
assert summary.atlasRelease.get_rev() == atlas_release.get_rev()
assert summary.brainLocation == atlas_release.brainLocation
assert summary.distribution.name == "summary_file.json"

Expand Down

0 comments on commit c65ee24

Please sign in to comment.