From 97af43f6f3cf9d215a2f481aa6806ce0c252c773 Mon Sep 17 00:00:00 2001 From: Sandip Date: Wed, 15 Dec 2021 09:44:36 +0100 Subject: [PATCH 1/2] Add Faker and sentry as common dependency --- src/tribler-common/tribler_common/requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tribler-common/tribler_common/requirements.txt b/src/tribler-common/tribler_common/requirements.txt index e69de29bb2d..675694e9a34 100644 --- a/src/tribler-common/tribler_common/requirements.txt +++ b/src/tribler-common/tribler_common/requirements.txt @@ -0,0 +1,2 @@ +Faker==9.8.2 +sentry-sdk==1.5.0 \ No newline at end of file From 11ffbc158f54fd2e0e3109b1a821c9e8735f1fae Mon Sep 17 00:00:00 2001 From: Sandip Date: Mon, 20 Dec 2021 10:56:08 +0100 Subject: [PATCH 2/2] Add test assertion that common dependencies exist --- src/tribler-common/tribler_common/tests/test_dependencies.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tribler-common/tribler_common/tests/test_dependencies.py b/src/tribler-common/tribler_common/tests/test_dependencies.py index 7ad8a9212cd..0e5e14d1596 100644 --- a/src/tribler-common/tribler_common/tests/test_dependencies.py +++ b/src/tribler-common/tribler_common/tests/test_dependencies.py @@ -37,6 +37,7 @@ async def test_get_dependencies(): # assert that in each scope dependencies are exist assert list(get_dependencies(Scope.gui)) assert list(get_dependencies(Scope.core)) + assert list(get_dependencies(Scope.common)) async def test_get_dependencies_wrong_scope():