From c8d2b84cfc1d1ae3ef36b6eaaeca86b5113195a4 Mon Sep 17 00:00:00 2001 From: KKlochko Date: Tue, 7 Jan 2025 22:04:48 +0200 Subject: [PATCH] Update the test to test models in a memory database. Add fixtures in the environment. --- features/backup_plan_model.feature | 33 ++++++++++++++ features/creating_backup_plan.feature | 16 ------- features/environment.py | 23 ++++++++++ ...an_steps.py => backup_plan_model_steps.py} | 43 +++++++++++-------- 4 files changed, 82 insertions(+), 33 deletions(-) create mode 100644 features/backup_plan_model.feature delete mode 100644 features/creating_backup_plan.feature create mode 100644 features/environment.py rename features/steps/{creating_backup_plan_steps.py => backup_plan_model_steps.py} (57%) diff --git a/features/backup_plan_model.feature b/features/backup_plan_model.feature new file mode 100644 index 0000000..b92d7a2 --- /dev/null +++ b/features/backup_plan_model.feature @@ -0,0 +1,33 @@ +Feature: Creating the source + + @fixture.in_memory_database + @fixture.backup_plan_repository + Scenario Outline: Create an new unique backup plan + Given the label "