Private
Public Access
1
0

Merge branch 'feature/testrefactoring' into develop

This commit is contained in:
Sander Roosendaal
2019-01-02 13:06:08 +01:00
105 changed files with 89 additions and 64 deletions

4
.gitignore vendored
View File

@@ -9,6 +9,10 @@
/build/
/docs/
# coverage folder
/htmlcov/
.coverage
# CSV files
/media/

21
rowers/tests/__init__.py Normal file
View File

@@ -0,0 +1,21 @@
pkg_mox = None
def setUpPackage():
global pkg_mox
import urllib
import urllib2
import mox
import requests
pkg_mox = mox.Mox()
pkg_mox.StubOutWithMock(requests.api.sessions.Session, 'send')
pkg_mox.StubOutWithMock(urllib.URLopener, 'open')
pkg_mox.StubOutWithMock(urllib2.OpenerDirector, 'open')
pkg_mox.ReplayAll()
def tearDownPackage():
pkg_mox.VerifyAll()
pkg_mox.UnsetStubs()
from tests import *

View File

Can't render this file because it is too large.

View File

Can't render this file because it is too large.

Some files were not shown because too many files have changed in this diff Show More