From 671ca81beb3135f4881a2b62a16985fdd1c0a458 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 15 Apr 2018 13:02:44 +0100 Subject: [PATCH] Update to LOOT API v0.13.1 --- CMakeLists.txt | 4 ++-- src/test.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 91522ec..01c540d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,9 +50,9 @@ add_subdirectory(${PYBIND11_EXTRACTED_PATH}) ####################################### if (CMAKE_SYSTEM_NAME MATCHES "Windows") - set(LOOT_API_URL "https://github.com/loot/loot-api/releases/download/0.12.0/loot_api-0.12.0-0-g42cacca_dev-win32.7z") + set(LOOT_API_URL "https://github.com/loot/loot-api/releases/download/0.13.1/loot_api-0.13.1-0-g1804e45_dev-win32.7z") else() - set(LOOT_API_URL "https://github.com/loot/loot-api/releases/download/0.12.0/loot-api.tar.xz") + set(LOOT_API_URL "https://github.com/loot/loot-api/releases/download/0.13.1/loot-api.tar.xz") endif() ExternalProject_Add(loot-api-c++ diff --git a/src/test.py b/src/test.py index 22563ff..7875d0a 100644 --- a/src/test.py +++ b/src/test.py @@ -40,14 +40,14 @@ class GameFixture(unittest.TestCase): class TestLootApi(GameFixture): def test_is_compatible(self): self.assertFalse(is_compatible(0, 9, 0)) - self.assertTrue(is_compatible(0, 12, 0)) + self.assertTrue(is_compatible(0, 13, 0)) def test_version(self): self.assertEqual(Version.major, 0) - self.assertEqual(Version.minor, 12) - self.assertEqual(Version.patch, 0) + self.assertEqual(Version.minor, 13) + self.assertEqual(Version.patch, 1) self.assertNotEqual(Version.revision, u'') - self.assertEqual(Version.string(), "0.12.0") + self.assertEqual(Version.string(), "0.13.1") def test_wrapper_version(self): self.assertEqual(WrapperVersion.major, 3)