Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smarlowucf committed Jul 11, 2024
1 parent 46c6baa commit f9239be
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/test_obs_img_utils_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

import pytest

from unittest.mock import patch

from obs_img_utils.api import OBSImageUtil, package_type
from obs_img_utils.exceptions import PackageVersionExceptionOBS


class TestAPI:
Expand All @@ -46,9 +43,6 @@ def test_version_compare(self):
result = self.downloader._version_compare('1.0', '2.0', '<')
assert result

with pytest.raises(PackageVersionExceptionOBS):
self.downloader._version_compare('2.0', '1.0', '===')

@patch.object(OBSImageUtil, '_get_image_checksum')
@patch('obs_img_utils.api.time')
def test_wait_for_new_image(self, mock_time, mock_get_checksum):
Expand Down

0 comments on commit f9239be

Please sign in to comment.