Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Commit

Permalink
isolation tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-kolda committed Sep 14, 2018
1 parent 5a7633c commit a79193c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/slo/x_days_sli/test_x_days_sli_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@

class TestXDaysSLIService(unittest.TestCase):

def setUp(self):
patch('googleapiclient.discovery.build').start()
patch('oauth2client.client.GoogleCredentials.get_application_default') \
.start()

def tearDown(self):
patch.stopall()

@patch.object(SLIViewQuerier, 'query', return_value=[
{"projectId": "p1", "datasetId": "d1", "tableId": "t1",
"partitionId": "part1"}
Expand Down

0 comments on commit a79193c

Please sign in to comment.