From 2b1516898355c33c4cbbbc185a9177ca416323e2 Mon Sep 17 00:00:00 2001 From: Mikhail Gordeev Date: Mon, 20 Apr 2020 14:36:30 +0300 Subject: [PATCH] Refactor integration tests --- tests/test_integration_images.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) mode change 100755 => 100644 tests/test_integration_images.py diff --git a/tests/test_integration_images.py b/tests/test_integration_images.py old mode 100755 new mode 100644 index b8510a8..59c1ddd --- a/tests/test_integration_images.py +++ b/tests/test_integration_images.py @@ -1,21 +1,19 @@ -#!/usr/bin/python3 - from contextlib import ExitStack from pathlib import Path from types import SimpleNamespace +from unittest import TestCase from unittest import mock import os import shutil -import unittest -from cloud_build.cloud_build import CB +from cloud_build import CB from tests.call import Call -class TestCommon(unittest.TestCase): +class TestIntegrationImages(TestCase): def setUp(self): - self.images = TestCommon.images + self.images = self.__class__.images @classmethod def setUpClass(cls):