~opencompute-developers/opencompute/checkbox

« back to all changes in this revision

Viewing changes to checkbox/parsers/tests/test_version.py

Updated OCP Checkbox to the final release version of Checkbox which is now in Legacy mode.

Also fixed some unittest failures found during the update.

Incremented release version to match the last release version of Checkbox.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
#
 
3
# This file is part of Checkbox.
 
4
#
 
5
# Copyright 2014 Canonical Ltd.
 
6
#
 
7
# Checkbox is free software: you can redistribute it and/or modify
 
8
# it under the terms of the GNU General Public License version 3,
 
9
# as published by the Free Software Foundation.
 
10
 
 
11
#
 
12
# Checkbox is distributed in the hope that it will be useful,
 
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
# GNU General Public License for more details.
 
16
#
 
17
# You should have received a copy of the GNU General Public License
 
18
# along with Checkbox.  If not, see <http://www.gnu.org/licenses/>.
 
19
#
 
20
 
 
21
from unittest import TestCase
 
22
 
 
23
 
 
24
class TestSubmissionModuleVersion(TestCase):
 
25
 
 
26
    def testVersion(self):
 
27
        from checkbox import parsers
 
28
        ver = getattr(parsers, "__version__")
 
29
        self.assertTrue(ver)