mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 21:01:36 +00:00
update tests for gamlib/gl rename also
This commit is contained in:
@@ -36,8 +36,8 @@ def _gam_path_and_globals():
|
||||
sys.path.insert(0, src_dir)
|
||||
src_inserted = True
|
||||
|
||||
from gamlib import glcfg as GC
|
||||
from gamlib import glglobals as GM
|
||||
from gamlib import settings as GC
|
||||
from gamlib import state as GM
|
||||
|
||||
# Ensure Values dict exists with minimal defaults
|
||||
if not GC.Values:
|
||||
|
||||
@@ -163,7 +163,7 @@ class TestDeltaParsing:
|
||||
def test_get_delta_date(self):
|
||||
"""Requires GM.DATETIME_NOW to be initialized."""
|
||||
import arrow as _arrow
|
||||
from gamlib import glglobals as GM
|
||||
from gamlib import state as GM
|
||||
GM.Globals[GM.DATETIME_NOW] = _arrow.now()
|
||||
|
||||
from gam.util.args import getDeltaDate
|
||||
@@ -173,7 +173,7 @@ class TestDeltaParsing:
|
||||
def test_get_delta_time(self):
|
||||
"""Requires GM.DATETIME_NOW to be initialized."""
|
||||
import arrow as _arrow
|
||||
from gamlib import glglobals as GM
|
||||
from gamlib import state as GM
|
||||
GM.Globals[GM.DATETIME_NOW] = _arrow.now()
|
||||
|
||||
from gam.util.args import getDeltaTime
|
||||
|
||||
Reference in New Issue
Block a user