Skip to content

Commit

Permalink
added test config for pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
jmensch1 committed Mar 13, 2020
1 parent 1e6098d commit 2f8816b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion server/test/test_time_to_close.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
from src.services.time_to_close import time_to_close

TESTCONFIG = {
"Database": {
"DB_CONNECTION_STRING": "postgresql://testingString/postgresql"
}
}


def test_serviceExists():
# Arrange
testString = 'result'
print(testString)

# Act
ttc_worker = time_to_close()
ttc_worker = time_to_close(TESTCONFIG)
print(ttc_worker)

# Assert
Expand Down

0 comments on commit 2f8816b

Please sign in to comment.