From 8c316d012600af7b5acbecd493d51e5d8ced9ba4 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Mon, 30 Oct 2023 16:02:29 -0400 Subject: [PATCH] Emmental 3.1.1 Signed-off-by: Anna Schumaker --- emmental/__init__.py | 2 +- tests/test_emmental.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/emmental/__init__.py b/emmental/__init__.py index 4f5c26e..51adbba 100644 --- a/emmental/__init__.py +++ b/emmental/__init__.py @@ -21,7 +21,7 @@ from gi.repository import Adw MAJOR_VERSION = 3 MINOR_VERSION = 1 -MICRO_VERSION = 0 +MICRO_VERSION = 1 VERSION_NUMBER = f"{MAJOR_VERSION}.{MINOR_VERSION}.{MICRO_VERSION}" VERSION_STRING = f"Emmental {VERSION_NUMBER}{gsetup.DEBUG_STR}" diff --git a/tests/test_emmental.py b/tests/test_emmental.py index 583dfc7..8d178c7 100644 --- a/tests/test_emmental.py +++ b/tests/test_emmental.py @@ -22,9 +22,9 @@ class TestEmmental(unittest.TestCase): """Check that version constants have been set properly.""" self.assertEqual(emmental.MAJOR_VERSION, 3) self.assertEqual(emmental.MINOR_VERSION, 1) - self.assertEqual(emmental.MICRO_VERSION, 0) - self.assertEqual(emmental.VERSION_NUMBER, "3.1.0") - self.assertEqual(emmental.VERSION_STRING, "Emmental 3.1.0-debug") + self.assertEqual(emmental.MICRO_VERSION, 1) + self.assertEqual(emmental.VERSION_NUMBER, "3.1.1") + self.assertEqual(emmental.VERSION_STRING, "Emmental 3.1.1-debug") def test_application(self): """Check that the application instance is initialized properly.""" @@ -63,7 +63,7 @@ class TestEmmental(unittest.TestCase): mock_startup.assert_called() mock_load.assert_called() mock_add_window.assert_called_with(self.application.win) - mock_set_useragent.assert_called_with("emmental-debug", "3.1.0") + mock_set_useragent.assert_called_with("emmental-debug", "3.1.1") @unittest.mock.patch("sys.stdout") @unittest.mock.patch("gi.repository.Adw.Application.add_window")