Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Some explanatory text regarding tests. (@rudigiesler,@justinvdm)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerith committed Sep 17, 2014
1 parent feac40c commit 42bbed2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go_contacts/tests/test_server.py
@@ -1,5 +1,8 @@
"""
Tests for contacts API cyclone server.
These tests are run against both the real implementation of the API and the
verified fake implementation in order to verify that both behave correctly.
"""

import yaml
Expand Down
3 changes: 3 additions & 0 deletions verified-fake/README.rst
Expand Up @@ -2,3 +2,6 @@ Fake Go Contacts API
====================

A verified fake implementation of go-contacts for use in tests.

This implementation is tested in the go-contacts package alongside the API it
is faking, to ensure that the behaviour is the same for both.
8 changes: 8 additions & 0 deletions verified-fake/fake_go_contacts.py
@@ -1,3 +1,11 @@
"""
A verified fake implementation of go-contacts for use in tests.
This implementation is tested in the go-contacts package alongside the API it
is faking, to ensure that the behaviour is the same for both.
"""


import json
from uuid import uuid4
from urlparse import urlparse, parse_qs
Expand Down

0 comments on commit 42bbed2

Please sign in to comment.