This repository has been archived by the owner on Feb 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
__version__ = "0.1.0a" | ||
__all__ = [] |
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
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.
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
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 |