Skip to content

Commit

Permalink
change import from hydroshare_jupyter_sync to hydroshare_on_jupyter i…
Browse files Browse the repository at this point in the history
…n unit tests
  • Loading branch information
Austin Raney committed Nov 19, 2021
1 parent 6c97dab commit 8ee73d2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/test_aggregate_fs_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from pathlib import Path
from pydantic import BaseSettings, Field

from hydroshare_jupyter_sync.lib.filesystem.aggregate_fs_map import AggregateFSMap
from hydroshare_on_jupyter.lib.filesystem.aggregate_fs_map import AggregateFSMap


def get_env_file_path() -> Path:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_fs_resource_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest
from typing import Tuple, NewType

from hydroshare_jupyter_sync.lib.filesystem.fs_resource_map import LocalFSResourceMap
from hydroshare_on_jupyter.lib.filesystem.fs_resource_map import LocalFSResourceMap

# type declarations
ResourcePath = NewType("ResourcePath", Path)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_oauth_json_model.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from hydroshare_jupyter_sync.models.oauth import OAuthFile
from hydroshare_on_jupyter.models.oauth import OAuthFile


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/test_pathlib_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import os

from hydroshare_jupyter_sync.utilities import pathlib_utils
from hydroshare_on_jupyter.utilities import pathlib_utils

TEST_EXPAND_AND_RESOLVE_CASES = [
("~/test", "/test_user/test", "/test_user"),
Expand Down
8 changes: 4 additions & 4 deletions tests/test_server.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from tornado.httpclient import HTTPRequest, HTTPResponse
from tornado.httputil import HTTPHeaders
from hsclient import HydroShare
from hydroshare_jupyter_sync.__main__ import get_test_app
from hydroshare_jupyter_sync.hydroshare_resource_cache import (
from hydroshare_on_jupyter.__main__ import get_test_app
from hydroshare_on_jupyter.hydroshare_resource_cache import (
HydroShareWithResourceCache,
)
from hydroshare_jupyter_sync.server import LocalResourceEntityHandler
from hydroshare_jupyter_sync.session import _SessionSyncSingleton
from hydroshare_on_jupyter.server import LocalResourceEntityHandler
from hydroshare_on_jupyter.session import _SessionSyncSingleton
import json
import pytest
from dataclasses import dataclass
Expand Down
2 changes: 1 addition & 1 deletion tests/test_session_struct.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from hydroshare_jupyter_sync.session_struct import SessionStruct
from hydroshare_on_jupyter.session_struct import SessionStruct


@pytest.fixture
Expand Down

0 comments on commit 8ee73d2

Please sign in to comment.