~ubuntu-branches/ubuntu/trusty/horizon/trusty-proposed

« back to all changes in this revision

Viewing changes to openstack_dashboard/test/api_tests/base_tests.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2013-12-05 14:39:15 UTC
  • mto: This revision was merged to the branch mainline in revision 61.
  • Revision ID: package-import@ubuntu.com-20131205143915-5u8q3kdxdw8e7maz
Tags: upstream-2014.1~b1
ImportĀ upstreamĀ versionĀ 2014.1~b1

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
 
29
29
class APIResource(api_base.APIResourceWrapper):
30
 
    """ Simple APIResource for testing """
 
30
    """Simple APIResource for testing."""
31
31
    _attrs = ['foo', 'bar', 'baz']
32
32
 
33
33
    @staticmethod
44
44
 
45
45
 
46
46
class APIDict(api_base.APIDictWrapper):
47
 
    """ Simple APIDict for testing """
 
47
    """Simple APIDict for testing."""
48
48
    _attrs = ['foo', 'bar', 'baz']
49
49
 
50
50
    @staticmethod
116
116
 
117
117
 
118
118
class ApiHelperTests(test.TestCase):
119
 
    """ Tests for functions that don't use one of the api objects """
 
119
    """Tests for functions that don't use one of the api objects."""
120
120
 
121
121
    def test_url_for(self):
122
122
        url = api_base.url_for(self.request, 'image')