mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-25 10:58:52 -06:00
refactor: move upstream, sourceref, version_basis
upstream reads forges with the standard library alone and scrapers, packs and the site read it: it goes to core. sourceref is the grammar of a profile field, which the site parses without the comparison tool: it goes to model. version_basis is read by profile_sync alone and opens the profiling package.
This commit is contained in:
1 parent
8cdda10393
commit
e1f2f8685d
29 files changed
+51
-49
No files matched your search
@@ -871,7 +871,7 @@ class TheGitHubTokenComesFromGh(unittest.TestCase):
|
||||
|
||||
def test_every_api_caller_reads_it(self):
|
||||
import profile_sync
|
||||
import upstream
|
||||
from core import upstream
|
||||
from scraper import base_scraper
|
||||
|
||||
with self._gh():
|
||||
@@ -888,7 +888,7 @@ class TheGitHubTokenComesFromGh(unittest.TestCase):
|
||||
profile_sync._check_quota(606, offline=False)
|
||||
|
||||
def test_another_forge_never_triggers_gh(self):
|
||||
import upstream
|
||||
from core import upstream
|
||||
|
||||
with self._gh() as run:
|
||||
headers = upstream._headers("https://gitlab.com/api/v4/projects/1")
|
||||
|
||||
Reference in new issue
Block a user