Skip to content

Commit

Permalink
adding force-fail test for travis probing
Browse files Browse the repository at this point in the history
  • Loading branch information
lockefox committed Apr 16, 2018
1 parent efacbf7 commit a07bb7b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""conftest: pytest configuration"""
import helpers

helpers.clear_mongo_test_db()
# helpers.clear_mongo_test_db()
1 change: 1 addition & 0 deletions tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def clear_mongo_test_db(
tables = conn[database_name].collection_names()
print(tables)
for table in tables:
print('DROPPING: {}.{}'.format(database_name, table))
conn[database_name][table].remove()

conn.close()
5 changes: 5 additions & 0 deletions tests/test_schema_utils.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
"""validate prosper.test_utils.schema_utils"""
import os
import platform

import pytest
import helpers

import prosper.test_utils.schema_utils as schema_utils
def test_00_forcefail():
print(platform.node())
print(platform.system())
assert False

class TestMongoContextManager:
"""validate expected behavior for MongoContextManager"""
Expand Down

0 comments on commit a07bb7b

Please sign in to comment.