[pitivi] tests: Test version checking
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] tests: Test version checking
- Date: Fri, 25 Aug 2017 22:15:22 +0000 (UTC)
commit 49f812b610a6c0aab45804bc41343c070778e3b5
Author: Thibault Saunier <tsaunier gnome org>
Date: Fri Aug 25 19:14:48 2017 -0300
tests: Test version checking
Current version is 1.90.0.1, meaning > 0.100000000
tests/test_application.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/test_application.py b/tests/test_application.py
index b2e1e3a..d15012c 100644
--- a/tests/test_application.py
+++ b/tests/test_application.py
@@ -64,9 +64,9 @@ class TestPitivi(common.TestCase):
self.assertTrue(app.isLatest())
self.assertEqual("0.91", app.getLatest())
- app = self.call_version_info_received("0.100000000=current")
+ app = self.call_version_info_received("9999.00000000=current")
self.assertFalse(app.isLatest())
- self.assertEqual("0.100000000", app.getLatest())
+ self.assertEqual("9999.00000000", app.getLatest())
def test_inhibition(self):
app = application.Pitivi()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]