Skip to content

Commit

Permalink
rebrand custom phases as ROIs
Browse files Browse the repository at this point in the history
  • Loading branch information
halworsen committed Mar 2, 2024
1 parent fbaf9b4 commit 12b68c5
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions fflogsapi/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
FFLogsReportComboRanking, FFLogsReportRanking, FFLogsReportTag,
FFLogsZoneEncounterRanking, FFLogsZoneRanking, FFMap,)

from .phases import PhaseType, PhaseInformation, OmegaPhaseData, AlexanderPhaseData, ALL_PHASE_DATA
from .rois import PhaseType, PhaseInformation, OmegaPhaseData, AlexanderPhaseData, ALL_PHASE_DATA

__all__ = [
# dataclasses.py
Expand Down Expand Up @@ -40,7 +40,7 @@
'FFLogsPartition',
'FFLogsPhase',

# .phases
# .rois
'PhaseType',
'PhaseInformation',
'OmegaPhaseData',
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion fflogsapi/reports/fight.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def duration(self) -> float:
return self.end_time() - self.start_time()

@fetch_data('encounterID')
def phases(self) -> Optional[list['PhaseInformation']]:
def phase_rois(self) -> Optional[list['PhaseInformation']]:
'''
WARNING: VERY SLOW!
Expand Down
4 changes: 2 additions & 2 deletions tests/reports/test_phases.py → tests/reports/test_rois.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from ..config import CACHE_EXPIRY, CLIENT_ID, CLIENT_SECRET


class FightTest(unittest.TestCase):
class ROITest(unittest.TestCase):
'''
Test cases for fight phases.
Test cases for the ROI toolkit
This test case makes assumptions on the availability of specific reports.
If the tests break, it may be because visibility settings
Expand Down

0 comments on commit 12b68c5

Please sign in to comment.