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

Commit

Permalink
Add source boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
justinvdm committed Sep 17, 2014
1 parent 229422a commit 735dc7c
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go_metrics/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__version__ = "0.1.0a"
__all__ = []
11 changes: 11 additions & 0 deletions go_metrics/server.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from go_api.cyclone.handlers import ApiApplication

from confmodel import Config


class MetricsApiConfig(Config):
pass


class MetricssApi(ApiApplication):
pass
Empty file added go_metrics/tests/__init__.py
Empty file.
21 changes: 21 additions & 0 deletions go_metrics/tests/test_server.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
"""
Tests for the metrics API's 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.
"""


from twisted.trial.unittest import TestCase


class MetricsApiTestMixin(object):
pass


class TestMetricsApi(TestCase, MetricsApiTestMixin):
pass


class TestFakeMetricsApi(TestCase, MetricsApiTestMixin):
pass

0 comments on commit 735dc7c

Please sign in to comment.