Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Run all tests from migration flow after successful ci setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkrajewski committed Jul 15, 2024
1 parent a0dcaf7 commit a10b8a3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions catalystwan/integration_tests/test_migration_flow.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright 2024 Cisco Systems, Inc. and its affiliates

import unittest

from catalystwan.integration_tests.base import TestCaseBase
from catalystwan.utils.config_migration.runner import ConfigMigrationRunner
Expand All @@ -13,24 +12,20 @@ class TestMigrationFlow(TestCaseBase):
def setUpClass(cls) -> None:
super().setUpClass()
cls.runner = ConfigMigrationRunner.collect_push_and_rollback(cls.session)
cls.runner.dump_schemas()
# cls.runner.run()
cls.runner.run()

@unittest.skip("Testing purpose only")
def test_collect_artefact(self):
# Arrange
ux1_config = self.runner.load_collected_config()
# Act, Assert
assert ux1_config

@unittest.skip("Testing purpose only")
def test_transform_artefact(self):
# Arrange
transform_result = self.runner.load_transform_result()
# Act, Assert
assert transform_result.failed_items == list()

@unittest.skip("Testing purpose only")
def test_push_artefact(self):
# Arrange
push_result = self.runner.load_push_result()
Expand Down

0 comments on commit a10b8a3

Please sign in to comment.