forked from pool/python-mockito
		
	- Update to 1.1.1:
* Added forget_invocations function. Thanks to @maximkulkin * Fix: The context manager (with) has now a proper implementation * Fix: Calling patch with two arguments can now be used with with * Fix: Do not treat the placeholder arguments (Ellipsis, args, kwargs) as special on call time anymore. (T.i. they only have a meaning when stubbing or verifying.) * Enhancement: Changed some truthy or equality tests to identity (is) tests. This reduces edge-cases where some user object defines __eq__ or __bool__. (Hello _numpy_!) - Run tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mockito?expand=0&rev=12
This commit is contained in:
		
				
					committed by
					
						 Git OBS Bridge
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							cbb078a7a4
						
					
				
				
					commit
					56dca015d4
				
			| @@ -1,7 +1,7 @@ | ||||
| # | ||||
| # spec file for package python-mockito | ||||
| # | ||||
| # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. | ||||
| # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. | ||||
| # | ||||
| # All modifications and additions to the file contributed by third parties | ||||
| # remain the property of their copyright owners, unless otherwise agreed | ||||
| @@ -18,13 +18,15 @@ | ||||
|  | ||||
| %{?!python_module:%define python_module() python-%{**} python3-%{**}} | ||||
| Name:           python-mockito | ||||
| Version:        1.0.12 | ||||
| Version:        1.1.1 | ||||
| Release:        0 | ||||
| Summary:        Spying framework | ||||
| License:        MIT | ||||
| Group:          Development/Languages/Python | ||||
| Url:            http://mockito-python.readthedocs.io/en/latest/ | ||||
| URL:            https://github.com/kaste/mockito-python | ||||
| Source:         https://files.pythonhosted.org/packages/source/m/mockito/mockito-%{version}.tar.gz | ||||
| BuildRequires:  %{python_module numpy} | ||||
| BuildRequires:  %{python_module pytest} | ||||
| BuildRequires:  %{python_module setuptools} | ||||
| BuildRequires:  fdupes | ||||
| BuildRequires:  python-rpm-macros | ||||
| @@ -47,6 +49,9 @@ Mockito is a spying framework originally based on the Java library with the same | ||||
| %python_install | ||||
| %python_expand %fdupes %{buildroot}%{$python_sitelib} | ||||
|  | ||||
| %check | ||||
| %pytest | ||||
|  | ||||
| %files %{python_files} | ||||
| %doc AUTHORS CHANGES.txt README.rst | ||||
| %license LICENSE | ||||
|   | ||||
		Reference in New Issue
	
	Block a user