<reponame>olibraga/MySQL-AutoXtraBackup
import pytest
from prepare_env_test_mode.take_backup import WrapperForBackupTest
from general_conf.generalops import GeneralClass

# Part of TEST MODE

class TestTakeBackup:
    # Test class for take_backup.py

    def test_run_all_backup(self):
        gen_obj = GeneralClass()
        for conf_files in gen_obj.xb_configs.split():
            obj = WrapperForBackupTest(config='{}/{}'.format(gen_obj.testpath, conf_files))
            obj.run_all_backup()



import pytest
from prepare_env_test_mode.take_backup import WrapperForBackupTest
from general_conf.generalops import GeneralClass

# Part of TEST MODE

class TestTakeBackup:
    # Test class for take_backup.py

    def test_run_all_backup(self):
        gen_obj = GeneralClass()
        for conf_files in gen_obj.xb_configs.split():
            obj = WrapperForBackupTest(config='{}/{}'.format(gen_obj.testpath, conf_files))
            obj.run_all_backup()
# Part of TEST MODE # Test class for take_backup.py