~larry-e-works/uci-engine/write-exitcode-to-file

« back to all changes in this revision

Viewing changes to nf-stats-service/nfss/tests/unit/__init__.py

  • Committer: Thomi Richards
  • Date: 2014-06-27 20:02:44 UTC
  • mto: (629.2.9 nfss)
  • mto: This revision was merged to the branch mainline in revision 636.
  • Revision ID: thomi.richards@canonical.com-20140627200244-zi7dwxnyw38ypr2f
Initial version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Ubuntu CI Engine
 
2
# Copyright 2014 Canonical Ltd.
 
3
#
 
4
# This program is free software: you can redistribute it and/or modify it
 
5
# under the terms of the GNU Affero General Public License version 3, as
 
6
# published by the Free Software Foundation.
 
7
#
 
8
# This program is distributed in the hope that it will be useful, but
 
9
# WITHOUT ANY WARRANTY; without even the implied warranties of
 
10
# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
 
11
# PURPOSE.  See the GNU Affero General Public License for more details.
 
12
#
 
13
# You should have received a copy of the GNU Affero General Public License
 
14
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 
 
16
"""Unit test suite for the non functional stats service.
 
17
 
 
18
To run these tests, execute:
 
19
 
 
20
$ python3 -m unittest nfss.tests.unit
 
21
 
 
22
"""
 
23
import unittest
 
24
 
 
25
from pyramid import testing
 
26
 
 
27
from nfss.api import v1 as v1_api
 
28
 
 
29
 
 
30
class NFSSUnitTests(unittest.TestCase):
 
31
 
 
32
    def setUp(self):
 
33
        self.config = testing.setUp()
 
34
        self.addCleanup(testing.tearDown)
 
35
 
 
36
    def test_nothing(self):
 
37
        # Nothing to test yet - fixme!
 
38
        self.assertEqual(1, 1)