~rvb/maas/ssfilter

« back to all changes in this revision

Viewing changes to src/maasserver/utils/tests/test_jsenums.py

  • Committer: MaaS Lander
  • Author(s): jtv at canonical
  • Date: 2014-02-26 03:31:32 UTC
  • mfrom: (2011.1.5 js-lint)
  • Revision ID: maas_lander-20140226033132-b2e91n1580snloqk
[r=jtv][bug=][author=jtv] Fix pre-existing JavaScript lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2012, 2013 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2012-2014 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
 
4
4
"""Tests for `maasserver.utils.jsenums`."""
39
39
        # indented correctly.
40
40
        self.assertEqual(
41
41
            'module.ENUM = {\n'
42
 
            '    "ALICE": 1, \n'
 
42
            '    "ALICE": 1,\n'
43
43
            '    "BOB": 2\n'
44
44
            '};\n',
45
45
            serialize_enum(ENUM))