mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-05 05:11:35 +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)
|
sys.path.insert(0, src_dir)
|
||||||
src_inserted = True
|
src_inserted = True
|
||||||
|
|
||||||
from gamlib import glcfg as GC
|
from gamlib import settings as GC
|
||||||
from gamlib import glglobals as GM
|
from gamlib import state as GM
|
||||||
|
|
||||||
# Ensure Values dict exists with minimal defaults
|
# Ensure Values dict exists with minimal defaults
|
||||||
if not GC.Values:
|
if not GC.Values:
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ class TestDeltaParsing:
|
|||||||
def test_get_delta_date(self):
|
def test_get_delta_date(self):
|
||||||
"""Requires GM.DATETIME_NOW to be initialized."""
|
"""Requires GM.DATETIME_NOW to be initialized."""
|
||||||
import arrow as _arrow
|
import arrow as _arrow
|
||||||
from gamlib import glglobals as GM
|
from gamlib import state as GM
|
||||||
GM.Globals[GM.DATETIME_NOW] = _arrow.now()
|
GM.Globals[GM.DATETIME_NOW] = _arrow.now()
|
||||||
|
|
||||||
from gam.util.args import getDeltaDate
|
from gam.util.args import getDeltaDate
|
||||||
@@ -173,7 +173,7 @@ class TestDeltaParsing:
|
|||||||
def test_get_delta_time(self):
|
def test_get_delta_time(self):
|
||||||
"""Requires GM.DATETIME_NOW to be initialized."""
|
"""Requires GM.DATETIME_NOW to be initialized."""
|
||||||
import arrow as _arrow
|
import arrow as _arrow
|
||||||
from gamlib import glglobals as GM
|
from gamlib import state as GM
|
||||||
GM.Globals[GM.DATETIME_NOW] = _arrow.now()
|
GM.Globals[GM.DATETIME_NOW] = _arrow.now()
|
||||||
|
|
||||||
from gam.util.args import getDeltaTime
|
from gam.util.args import getDeltaTime
|
||||||
|
|||||||
Reference in New Issue
Block a user