Merge lp:~rmcbride/ubuntuone-testing/removenotes into lp:ubuntuone-testing

Proposed by Rick McBride
Status: Merged
Approved by: Leo Arias
Approved revision: 79
Merged at revision: 79
Proposed branch: lp:~rmcbride/ubuntuone-testing/removenotes
Merge into: lp:ubuntuone-testing
Diff against target: 122 lines (+0/-107)
3 files modified
ubuntuone/web/tests/sst/notes/u1webnotes001_create.py (+0/-32)
ubuntuone/web/tests/sst/notes/u1webnotes002_edit.py (+0/-41)
ubuntuone/web/tests/sst/notes/u1webnotes003_delete.py (+0/-34)
To merge this branch: bzr merge lp:~rmcbride/ubuntuone-testing/removenotes
Reviewer Review Type Date Requested Status
Leo Arias (community) Approve
Review via email: mp+91707@code.launchpad.net

Commit message

Notes UI is being removed from the web UI. These tests are deprecated as a result.

removing to avoid failure after the associated UI goes away.

Description of the change

Notes UI is being removed from the web UI. These tests are deprecated as a result.

removing to avoid failure after the associated UI goes away.

To post a comment you must log in.
Revision history for this message
Leo Arias (elopio) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed directory 'ubuntuone/web/tests/sst/notes'
2=== removed file 'ubuntuone/web/tests/sst/notes/u1webnotes001_create.py'
3--- ubuntuone/web/tests/sst/notes/u1webnotes001_create.py 2011-11-17 02:19:20 +0000
4+++ ubuntuone/web/tests/sst/notes/u1webnotes001_create.py 1970-01-01 00:00:00 +0000
5@@ -1,32 +0,0 @@
6-# -*- coding: utf-8 -*-
7-
8-# Copyright 2011 Canonical Ltd.
9-#
10-# This program is free software: you can redistribute it and/or modify it
11-# under the terms of the GNU General Public License version 3, as published
12-# by the Free Software Foundation.
13-#
14-# This program is distributed in the hope that it will be useful, but
15-# WITHOUT ANY WARRANTY; without even the implied warranties of
16-# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
17-# PURPOSE. See the GNU General Public License for more details.
18-#
19-# You should have received a copy of the GNU General Public License along
20-# with this program. If not, see <http://www.gnu.org/licenses/>.
21-
22-"""Test Case u1webnotes_001: Add a note through the WebUI.
23-"""
24-
25-import uuid
26-import actions.setup as setup_actions
27-import actions.notes as notes_actions
28-
29-note_uuid = uuid.uuid1()
30-title = 'Test note %s' % note_uuid
31-body = 'Body of test note %s' % note_uuid
32-
33-setup_actions.setup()
34-notes_actions.open()
35-notes_actions.add_note(title, body)
36-notes_actions.assert_note_exists(title)
37-notes_actions.assert_note(title, body)
38
39=== removed file 'ubuntuone/web/tests/sst/notes/u1webnotes002_edit.py'
40--- ubuntuone/web/tests/sst/notes/u1webnotes002_edit.py 2011-11-17 02:19:20 +0000
41+++ ubuntuone/web/tests/sst/notes/u1webnotes002_edit.py 1970-01-01 00:00:00 +0000
42@@ -1,41 +0,0 @@
43-# -*- coding: utf-8 -*-
44-
45-# Copyright 2011 Canonical Ltd.
46-#
47-# This program is free software: you can redistribute it and/or modify it
48-# under the terms of the GNU General Public License version 3, as published
49-# by the Free Software Foundation.
50-#
51-# This program is distributed in the hope that it will be useful, but
52-# WITHOUT ANY WARRANTY; without even the implied warranties of
53-# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
54-# PURPOSE. See the GNU General Public License for more details.
55-#
56-# You should have received a copy of the GNU General Public License along
57-# with this program. If not, see <http://www.gnu.org/licenses/>.
58-
59-"""Test Cases u1webnotes_002: Add a note through the WebUI, edit
60-it.
61-"""
62-
63-import uuid
64-import actions.setup as setup_actions
65-import actions.notes as notes_actions
66-from sst.actions import *
67-
68-note_uuid = uuid.uuid1()
69-title = 'Test note %s' % note_uuid
70-body = 'Body of test note %s' % note_uuid
71-edited_title = 'edited ' + title
72-edited_body = 'edited ' + body
73-
74-setup_actions.setup()
75-notes_actions.open()
76-notes_actions.add_note(title, body)
77-notes_actions.assert_note_exists(title)
78-notes_actions.select_note(title)
79-notes_actions.edit_note(edited_title, edited_body)
80-fails(notes_actions.assert_note_exists, title)
81-notes_actions.assert_note_exists(edited_title)
82-notes_actions.assert_note(edited_title, edited_body)
83-
84
85=== removed file 'ubuntuone/web/tests/sst/notes/u1webnotes003_delete.py'
86--- ubuntuone/web/tests/sst/notes/u1webnotes003_delete.py 2011-11-17 02:19:20 +0000
87+++ ubuntuone/web/tests/sst/notes/u1webnotes003_delete.py 1970-01-01 00:00:00 +0000
88@@ -1,34 +0,0 @@
89-# -*- coding: utf-8 -*-
90-
91-# Copyright 2011 Canonical Ltd.
92-#
93-# This program is free software: you can redistribute it and/or modify it
94-# under the terms of the GNU General Public License version 3, as published
95-# by the Free Software Foundation.
96-#
97-# This program is distributed in the hope that it will be useful, but
98-# WITHOUT ANY WARRANTY; without even the implied warranties of
99-# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
100-# PURPOSE. See the GNU General Public License for more details.
101-#
102-# You should have received a copy of the GNU General Public License along
103-# with this program. If not, see <http://www.gnu.org/licenses/>.
104-
105-"""Test Case u1webnotes_003: Delete a note through the WebUI.
106-"""
107-
108-import uuid
109-import actions.setup as setup_actions
110-import actions.notes as notes_actions
111-
112-note_uuid = uuid.uuid1()
113-title = 'Test note %s' % note_uuid
114-body = 'Body of test note %s' % note_uuid
115-
116-setup_actions.setup()
117-notes_actions.open()
118-notes_actions.add_note(title, body)
119-notes_actions.assert_note_exists(title)
120-notes_actions.assert_note(title, body)
121-notes_actions.delete_note(title)
122-notes_actions.assert_note_was_deleted(title)

Subscribers

People subscribed via source and target branches