Created
June 13, 2014 15:16
-
-
Save piyush0101/abc74c7b675c327f910e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from unittest import TestCase | |
from pecan import conf | |
import requests | |
class UpdateDataTest(TestCase): | |
def test_should_store_data_in_datastore(self): | |
conf.update({"db": {"url": "mim://localhost:27017/collection"}}) | |
service = "service" | |
response = requests.post("url") | |
self.assertEqual(response.json()['name'], service) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment