~ubuntu-branches/ubuntu/precise/ubuntuone-client/precise

« back to all changes in this revision

Viewing changes to tests/platform/linux/test_messaging.py

  • Committer: Package Import Robot
  • Author(s): Rodney Dawes
  • Date: 2012-04-11 15:11:53 UTC
  • mfrom: (1.1.65)
  • Revision ID: package-import@ubuntu.com-20120411151153-36r4amg817hes2b2
Tags: 3.0.0-0ubuntu1
* New upstream release.
  - Add the necessary OpenSSL exception to the license. (LP: #968555)
* debian/copyright:
  - Update to dep5 format.
  - Update to include the OpenSSL exception.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#
3
3
# Author: Eric Casteleijn <eric.casteleijn@canonical.com>
4
4
#
5
 
# Copyright 2010 Canonical Ltd.
 
5
# Copyright 2010-2012 Canonical Ltd.
6
6
#
7
7
# This program is free software: you can redistribute it and/or modify it
8
8
# under the terms of the GNU General Public License version 3, as published
15
15
#
16
16
# You should have received a copy of the GNU General Public License along
17
17
# with this program.  If not, see <http://www.gnu.org/licenses/>.
18
 
 
19
 
"""Test the messaging on linux. These tests are kind of stupid, but at
 
18
#
 
19
# In addition, as a special exception, the copyright holders give
 
20
# permission to link the code of portions of this program with the
 
21
# OpenSSL library under certain conditions as described in each
 
22
# individual source file, and distribute linked combinations
 
23
# including the two.
 
24
# You must obey the GNU General Public License in all respects
 
25
# for all of the code used other than OpenSSL.  If you modify
 
26
# file(s) with this exception, you may extend this exception to your
 
27
# version of the file(s), but you are not obligated to do so.  If you
 
28
# do not wish to do so, delete this exception statement from your
 
29
# version.  If you delete this exception statement from all source
 
30
# files in the program, then also delete it here.
 
31
"""
 
32
Test the messaging on linux. These tests are kind of stupid, but at
20
33
least they ensure 100% coverage and hence no silly/syntax errors.
 
34
"""
21
35
 
22
 
"""
23
36
import sys
24
37
 
25
38
from mocker import Mocker, ANY