mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-29 12:58:51 -06:00
refactor: move the truth diff into exporter
This commit is contained in:
1 parent
75a69a4a42
commit
2428d92e6a
6 files changed
+209
-180
No files matched your search
@@ -126,6 +126,7 @@ COMMANDS = {
|
||||
"sitegen/demovariants.py", "sitegen/democard.py", "sitegen/demosession.py",
|
||||
"sitegen/demorecord.py",
|
||||
),
|
||||
"diff_truth.py": ("exporter/truthdiff.py", "exporter/diffreport.py"),
|
||||
"romset_recipes.py": (
|
||||
"romrecipes/romsets.py", "romrecipes/pool.py", "romrecipes/pins.py", "romrecipes/identify.py",
|
||||
"romrecipes/ledger.py", "romrecipes/members.py", "romrecipes/capture.py", "romrecipes/build.py",
|
||||
|
||||
@@ -20,7 +20,7 @@ from core.github import github_token, _gh_cli_token
|
||||
from model.profiles import select_emulator_profiles, ProfileSelectionError
|
||||
from model.registry import list_registered_platforms
|
||||
from model.targets import load_target_config, build_target_cores_cache
|
||||
import diff_truth
|
||||
from exporter import diffreport
|
||||
import pipeline
|
||||
from orchestrate import guards, labels, prepare, runner
|
||||
from resolve import truth
|
||||
@@ -507,8 +507,8 @@ class TheTruthDiffShowsWhereAndAsksNothing(unittest.TestCase):
|
||||
|
||||
def test_neither_format_asks_for_a_removal(self):
|
||||
report = self._report()
|
||||
for text in (diff_truth._format_markdown(report),
|
||||
diff_truth._format_terminal(report)):
|
||||
for text in (diffreport.format_markdown(report),
|
||||
diffreport.format_terminal(report)):
|
||||
self.assertNotIn("Remove", text)
|
||||
self.assertNotIn("phantom", text.lower())
|
||||
self.assertIn("fbneo/hiscore.dat", text)
|
||||
|
||||
Reference in new issue
Block a user