From ef38d3e5fba0b9f3a9cc115b81587e9cabbc15e2 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Thu, 4 Jul 2019 20:15:39 +0100 Subject: [PATCH] add test --- rtm/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtm/__init__.py b/rtm/__init__.py index c9bdae8..c34b778 100755 --- a/rtm/__init__.py +++ b/rtm/__init__.py @@ -118,8 +118,8 @@ def get_active_tasks(): def test(): - b = RtmBackup.from_path(get_last_backup()) - pass + tasks = get_all_tasks() + assert len([t for t in tasks if 'gluons' in t.title]) > 0 def main():