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
2 changes: 1 addition & 1 deletion .azdo/ci-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ steps:
- script: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest pytest-mock black pytest-asyncio build setuptools-git-versioning
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f dev_dependencies.txt ]; then pip install -r dev_dependencies.txt; fi
displayName: 'Install dependencies'

- script: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest pytest-mock black pytest-asyncio build setuptools-git-versioning
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install flake8 black build setuptools-git-versioning
if [ -f dev_dependencies.txt ]; then pip install -r dev_dependencies.txt; fi
- name: Check format with black
run: |
# stop the build if black raises an issue
Expand Down
3 changes: 3 additions & 0 deletions dev_dependencies.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pytest
pytest-asyncio
pytest-mock
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
from abc import ABC
from typing import Any

from .storage import Storage
from .store_item import StoreItem
from ._type_aliases import JSON
from .memory_storage import MemoryStorage

from microsoft_agents.hosting.core.storage import (
Storage,
StoreItem,
MemoryStorage
)
from microsoft_agents.hosting.core.storage._type_aliases import JSON

class MockStoreItem(StoreItem):
"""Test implementation of StoreItem for testing purposes"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
Thing,
)

from .activity_data.activity_test_data import MyChannelData
from .activity_tools.testing_activity import create_test_activity
from .data.activity_test_data import MyChannelData
from .tools.testing_activity import create_test_activity


def helper_validate_recipient_and_from(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
pick_model_dict,
)

from .activity_tools.testing_model_utils import SkipFalse, SkipEmpty, PickField
from .tools.testing_model_utils import SkipFalse, SkipEmpty, PickField


class TestModelUtils:
Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
ChannelAccount,
ConversationAccount,
)
from core_tools.testing_adapter import TestingAdapter
from .tools.testing_adapter import TestingAdapter


class MockCustomState(AgentState):
Expand Down
Loading