From 7150754af3034d9bbeaf2721f2fdf992d80d2ad302b68fa66fa217cbd370d764 Mon Sep 17 00:00:00 2001 From: Torsten Gruner Date: Thu, 19 Nov 2020 07:48:42 +0000 Subject: [PATCH] Accepting request 849257 from home:jayvdb:branches:devel:languages:python - Activate test suite OBS-URL: https://build.opensuse.org/request/show/849257 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dj-database-url?expand=0&rev=13 --- python-dj-database-url.changes | 5 +++++ python-dj-database-url.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/python-dj-database-url.changes b/python-dj-database-url.changes index 199a8f0..af0dba4 100644 --- a/python-dj-database-url.changes +++ b/python-dj-database-url.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 18 10:15:52 UTC 2020 - John Vandenberg + +- Activate test suite + ------------------------------------------------------------------- Sat Mar 16 00:47:21 UTC 2019 - Jan Engelhardt diff --git a/python-dj-database-url.spec b/python-dj-database-url.spec index 234dcca..dee249f 100644 --- a/python-dj-database-url.spec +++ b/python-dj-database-url.spec @@ -1,7 +1,7 @@ # # spec file for package python-dj-database-url # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,8 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/kennethreitz/dj-database-url Source: https://github.com/kennethreitz/dj-database-url/archive/v%{version}.tar.gz +BuildRequires: %{python_module Django} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -58,7 +60,8 @@ Oracle, Oracle (GIS), and SQLite. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -# all tests connect to AWS for DB servers +%check +%pytest %files %{python_files} %license LICENSE