'Test backup_config_zip'

def test_backup_config_zip(self):

    here = os.path.dirname(__file__)
    files = [f for f in os.listdir(here) if (f[(-3):] in ['.db', '.py'])]
    zip_path = os.path.join(here, '_backup_test.zip')
    self.assertTrue(helpers.backup_config_zip(files, zip_path, here))
    self.assertFalse(helpers.backup_config_zip(files, '/:/_backup_test.zip'))
    if os.path.isfile(zip_path):
        os.remove(zip_path)
