Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Alter imports for linc-archive tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Kanzer authored and Aaron Kanzer committed Jan 31, 2024
1 parent b766ee8 commit 6665d2c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,20 +110,20 @@ jobs:
- name: Run Dandi API tests only
if: matrix.mode == 'dandi-api'
run: |
python -m pytest -s -v --cov=dandi --cov-report=xml --dandi-api dandi
python -m pytest -s -v --cov=dandi --cov-report=xml --dandi-api lincbrain
- name: Dump Docker Compose logs
if: failure() && startsWith(matrix.os, 'ubuntu')
run: |
docker-compose \
-f dandi/tests/data/dandiarchive-docker/docker-compose.yml \
-f lincbrain/tests/data/dandiarchive-docker/docker-compose.yml \
logs --timestamps
- name: Shut down Docker Compose
if: startsWith(matrix.os, 'ubuntu')
run: |
docker-compose \
-f dandi/tests/data/dandiarchive-docker/docker-compose.yml \
-f lincbrain/tests/data/dandiarchive-docker/docker-compose.yml \
down -v
- name: Upload coverage to Codecov
Expand Down
2 changes: 1 addition & 1 deletion lincbrain/cli/tests/test_service_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import pytest
import vcr

from dandi import __version__
from lincbrain import __version__
from lincbrain.tests.fixtures import SampleDandiset

from ..cmd_service_scripts import service_scripts
Expand Down
8 changes: 4 additions & 4 deletions lincbrain/tests/test_dandiarchive.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import pytest
import responses

from dandi.consts import DandiInstance, known_instances
from dandi.dandiarchive import (
from lincbrain.consts import DandiInstance, known_instances
from lincbrain.dandiarchive import (
AssetFolderURL,
AssetGlobURL,
AssetIDURL,
Expand All @@ -17,8 +17,8 @@
multiasset_target,
parse_dandi_url,
)
from dandi.exceptions import NotFoundError, UnknownURLError
from dandi.tests.skip import mark
from lincbrain.exceptions import NotFoundError, UnknownURLError
from lincbrain.tests.skip import mark

from .fixtures import DandiAPI, SampleDandiset

Expand Down

0 comments on commit 6665d2c

Please sign in to comment.