Private
Public Access
1
0

moved tests to tests folder and made it working

This commit is contained in:
Sander Roosendaal
2019-01-02 11:33:54 +01:00
parent de67c1f8bb
commit 5f8cca4465
104 changed files with 85 additions and 64 deletions

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