@@ -198,13 +198,11 @@ def cover(session):
198198 session .run ("coverage" , "erase" )
199199
200200
201- @nox .session (name = "old-emulator-system" , python = EMULTATOR_INTERPRETERS )
202201def old_emulator_system (session ):
203202 emulator_args = ["gcloud" , "beta" , "emulators" , "datastore" , "start" ]
204203 _run_emulator (session , emulator_args )
205204
206205
207- @nox .session (name = "emulator-system" , python = EMULTATOR_INTERPRETERS )
208206def emulator_system (session ):
209207 emulator_args = [
210208 "gcloud" ,
@@ -400,9 +398,21 @@ def doctest(session):
400398 session .run (* run_args )
401399
402400
403- # Run the system tests
401+ # Run the system/emulator tests
404402@nox .session (py = "3.12" )
405- def system (session ):
403+ @nox .parametrize ("test_type" , ["system_default" , "emulator_system" , "old_emulator_system" ])
404+ def system (session , test_type ):
405+ """Run the system/emulator tests."""
406+ test_map = {
407+ "system_default" : system_default ,
408+ "emulator_system" : emulator_system ,
409+ "old_emulator_system" : old_emulator_system ,
410+ }
411+
412+ test_map [test_type ](session )
413+
414+
415+ def system_default (session ):
406416 """Run the system test suite."""
407417 constraints_path = str (
408418 CURRENT_DIRECTORY / "testing" / f"constraints-{ session .python } .txt"
0 commit comments