~allenap/maas/ipmi-power-confusion--bug-1560830

« back to all changes in this revision

Viewing changes to templates/test.py

  • Committer: Gavin Panella
  • Date: 2012-01-19 10:37:57 UTC
  • mfrom: (16.3.22 test-bling)
  • Revision ID: gavin.panella@canonical.com-20120119103757-surtgos6dn4krulo
[r=rvba] Adds testtools and testresources, templates for new source files, import formatting utility from Launchpad, and fixes some lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 2012 Canonical Ltd.  This software is licensed under the
 
2
# GNU Affero General Public License version 3 (see the file LICENSE).
 
3
 
 
4
"""..."""
 
5
 
 
6
from __future__ import print_function
 
7
 
 
8
__metaclass__ = type
 
9
__all__ = []
 
10
 
 
11
from maas.testing import TestCase
 
12
 
 
13
 
 
14
class TestSomething(TestCase):
 
15
 
 
16
    #resources = [...]
 
17
 
 
18
    def test_something(self):
 
19
        self.assertTrue(1)