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
=== removed directory 'ubuntuone/web/tests/sst/notes'
=== removed file 'ubuntuone/web/tests/sst/notes/u1webnotes001_create.py'
--- ubuntuone/web/tests/sst/notes/u1webnotes001_create.py 2011-11-17 02:19:20 +0000
+++ ubuntuone/web/tests/sst/notes/u1webnotes001_create.py 1970-01-01 00:00:00 +0000
@@ -1,32 +0,0 @@
1# -*- coding: utf-8 -*-
2
3# Copyright 2011 Canonical Ltd.
4#
5# This program is free software: you can redistribute it and/or modify it
6# under the terms of the GNU General Public License version 3, as published
7# by the Free Software Foundation.
8#
9# This program is distributed in the hope that it will be useful, but
10# WITHOUT ANY WARRANTY; without even the implied warranties of
11# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
12# PURPOSE. See the GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License along
15# with this program. If not, see <http://www.gnu.org/licenses/>.
16
17"""Test Case u1webnotes_001: Add a note through the WebUI.
18"""
19
20import uuid
21import actions.setup as setup_actions
22import actions.notes as notes_actions
23
24note_uuid = uuid.uuid1()
25title = 'Test note %s' % note_uuid
26body = 'Body of test note %s' % note_uuid
27
28setup_actions.setup()
29notes_actions.open()
30notes_actions.add_note(title, body)
31notes_actions.assert_note_exists(title)
32notes_actions.assert_note(title, body)
330
=== removed file 'ubuntuone/web/tests/sst/notes/u1webnotes002_edit.py'
--- ubuntuone/web/tests/sst/notes/u1webnotes002_edit.py 2011-11-17 02:19:20 +0000
+++ ubuntuone/web/tests/sst/notes/u1webnotes002_edit.py 1970-01-01 00:00:00 +0000
@@ -1,41 +0,0 @@
1# -*- coding: utf-8 -*-
2
3# Copyright 2011 Canonical Ltd.
4#
5# This program is free software: you can redistribute it and/or modify it
6# under the terms of the GNU General Public License version 3, as published
7# by the Free Software Foundation.
8#
9# This program is distributed in the hope that it will be useful, but
10# WITHOUT ANY WARRANTY; without even the implied warranties of
11# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
12# PURPOSE. See the GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License along
15# with this program. If not, see <http://www.gnu.org/licenses/>.
16
17"""Test Cases u1webnotes_002: Add a note through the WebUI, edit
18it.
19"""
20
21import uuid
22import actions.setup as setup_actions
23import actions.notes as notes_actions
24from sst.actions import *
25
26note_uuid = uuid.uuid1()
27title = 'Test note %s' % note_uuid
28body = 'Body of test note %s' % note_uuid
29edited_title = 'edited ' + title
30edited_body = 'edited ' + body
31
32setup_actions.setup()
33notes_actions.open()
34notes_actions.add_note(title, body)
35notes_actions.assert_note_exists(title)
36notes_actions.select_note(title)
37notes_actions.edit_note(edited_title, edited_body)
38fails(notes_actions.assert_note_exists, title)
39notes_actions.assert_note_exists(edited_title)
40notes_actions.assert_note(edited_title, edited_body)
41
420
=== removed file 'ubuntuone/web/tests/sst/notes/u1webnotes003_delete.py'
--- ubuntuone/web/tests/sst/notes/u1webnotes003_delete.py 2011-11-17 02:19:20 +0000
+++ ubuntuone/web/tests/sst/notes/u1webnotes003_delete.py 1970-01-01 00:00:00 +0000
@@ -1,34 +0,0 @@
1# -*- coding: utf-8 -*-
2
3# Copyright 2011 Canonical Ltd.
4#
5# This program is free software: you can redistribute it and/or modify it
6# under the terms of the GNU General Public License version 3, as published
7# by the Free Software Foundation.
8#
9# This program is distributed in the hope that it will be useful, but
10# WITHOUT ANY WARRANTY; without even the implied warranties of
11# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
12# PURPOSE. See the GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License along
15# with this program. If not, see <http://www.gnu.org/licenses/>.
16
17"""Test Case u1webnotes_003: Delete a note through the WebUI.
18"""
19
20import uuid
21import actions.setup as setup_actions
22import actions.notes as notes_actions
23
24note_uuid = uuid.uuid1()
25title = 'Test note %s' % note_uuid
26body = 'Body of test note %s' % note_uuid
27
28setup_actions.setup()
29notes_actions.open()
30notes_actions.add_note(title, body)
31notes_actions.assert_note_exists(title)
32notes_actions.assert_note(title, body)
33notes_actions.delete_note(title)
34notes_actions.assert_note_was_deleted(title)

Subscribers

People subscribed via source and target branches