def test_get_plan_type_destroy(database_connection): magic_castle = MagicCastle(database_connection, "valid1.calculquebec.cloud") assert magic_castle.get_plan_type() == PlanType.DESTROY
def test_get_plan_type_none(database_connection): magic_castle = MagicCastle(database_connection, "missingfloatingips.c3.ca") assert magic_castle.get_plan_type() == PlanType.NONE
def test_get_plan_type_build(database_connection): build_planning = MagicCastle(database_connection, "buildplanning.calculquebec.cloud") assert build_planning.get_plan_type() == PlanType.BUILD created = MagicCastle(database_connection, "created.calculquebec.cloud") assert created.get_plan_type() == PlanType.BUILD