Skip to content

Commit

Permalink
added custom ReplayStrategy to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dianzrong committed Jun 20, 2023
1 parent df22ff8 commit 0a9ee9d
Showing 1 changed file with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
"""
Tests the get_summary function in summary_mixin.py
Tests the summarization function in summary.py
"""
import pytest
from fuzzywuzzy import fuzz

from openadapt.strategies.demo import DemoReplayStrategy
from openadapt.strategies.mixins.summary import SummaryReplayStrategyMixin
from openadapt.models import Recording


RECORDING = Recording()
REPLAY = DemoReplayStrategy(RECORDING)

class TestSummaryReplayStrategy(SummaryReplayStrategyMixin):
def __init__(self, recording: Recording):
super().__init__(recording)
def get_next_action_event(self):
pass

REPLAY = TestSummaryReplayStrategy(RECORDING)

def test_summary_empty():
empty_text = ""
Expand Down

0 comments on commit 0a9ee9d

Please sign in to comment.