~nataliabidart/ubuntuone-control-panel/raise-and-handle-unauthorized

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/tests/__init__.py

  • Committer: Tarmac
  • Author(s): Natalia B. Bidart
  • Date: 2011-03-31 21:46:31 UTC
  • mfrom: (119.2.5 device-list-type-error)
  • Revision ID: tarmac-20110331214631-lzjmngucl3im9vk2
- Made the backend robust against possible None values (or any non basestring instance) sent from the API server (LP: #745790).

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
]
111
111
"""
112
112
 
 
113
EMPTY_DESCRIPTION_JSON = """
 
114
[
 
115
    {
 
116
        "token": "ABCDEF01234token",
 
117
        "description": null,
 
118
        "kind": "Computer"
 
119
    }
 
120
]
 
121
"""
 
122
 
113
123
LOCAL_DEVICE = {
114
124
    'is_local': 'True',
115
125
    'configurable': 'True',