Add work-arounds for tests which are broken in mock
This commit is contained in:
		
							parent
							
								
									c0a337cedf
								
							
						
					
					
						commit
						4ff5212697
					
				| @ -79,6 +79,9 @@ ln -vsf %{_jsdir}/jquery/latest/jquery.min.js %{buildroot}%{_pkgdocdir}/html/_st | |||||||
| cp -p README.md NEWS %{buildroot}%{_pkgdocdir}/ | cp -p README.md NEWS %{buildroot}%{_pkgdocdir}/ | ||||||
| 
 | 
 | ||||||
| %check | %check | ||||||
|  | # if the socket is not there, skip doc tests | ||||||
|  | test -f /run/systemd/journal/stdout || \ | ||||||
|  |      sed -i 's/--doctest[^ ]*//g' pytest.ini | ||||||
| make PYTHON=%{__python2} check || : | make PYTHON=%{__python2} check || : | ||||||
| make PYTHON=%{__python3} check || : | make PYTHON=%{__python3} check || : | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user