Skip to content

Commit

Permalink
Clean the cache after every test.
Browse files Browse the repository at this point in the history
  • Loading branch information
aplanas committed Aug 3, 2015
1 parent d7f4452 commit 90412c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/api_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ def setUp(self):
Config('openSUSE:Factory')
self.api = StagingAPI(APIURL, 'openSUSE:Factory')

def tearDown(self):
"""Clean internal cache"""
self.api._invalidate_all()

def test_ring_packages(self):
"""
Validate the creation of the rings.
Expand Down

0 comments on commit 90412c3

Please sign in to comment.