Closed Bug 1299207 Opened 8 years ago Closed 8 years ago

Remove unused import in test_click.py

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(firefox51 fixed)

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: impossibus, Assigned: bhuvnesh13396, Mentored)

Details

(Keywords: good-first-bug, Whiteboard: [lang=py])

Attachments

(1 file, 1 obsolete file)

This import [1] isn't used anywhere in the test. Let's remove it. [1] https://dxr.mozilla.org/mozilla-central/rev/26e22af660e543ebb69930f082188b69ec756185/testing/marionette/harness/marionette/tests/unit/test_click.py#10 You can run the test with |./mach marionette-test testing/marionette/harness/marionette/tests/unit/test_click.py| To get started, see https://wiki.mozilla.org/index.php?title=User:Mjzffr/New_Contributors
Hi, I would like to do this , if this is ok with you . Actually looking for my first bug.
Sure. I will assign the bug to you once you submit code up for review through MozReview. In the mean time, if you have any questions, ask on #automation.
Hello , I am newbie.This is my first bug. When I submit code for review it gives something like this redirecting push to https://reviewboard-hg.mozilla.org/gecko (ignoring public changeset cfdb7af3af2e in review request) abort: no non-public changesets left to review (add or change the -r argument to include draft changesets) Please help me with this.
Hi! Please join #automation on irc.mozilla.org (See https://wiki.mozilla.org/index.php?title=User:Mjzffr/New_Contributors for info about IRC) and ask us troubleshooting questions there.
Comment on attachment 8791242 [details] Bug 1299207 - Removed unnecessary header files. https://reviewboard.mozilla.org/r/78712/#review77304 Thanks for the patch! A couple of changes are needed (you can do an `hg histedit` then `hg push review` again). Please change your commit message to the following: `Bug 1299207 - Remove unused imports in test_click.py; r?maja_zf` ::: testing/marionette/harness/marionette/tests/unit/test_click.py:6 (Diff revision 1) > # License, v. 2.0. If a copy of the MPL was not distributed with this > # file, You can obtain one at http://mozilla.org/MPL/2.0/. > > -from unittest import skip > > +from unittest import skip Please move `from unittest import skip` back to line 5. (We group standard library imports separately.)
Attachment #8791242 - Flags: review?(mjzffr) → review-
Assignee: nobody → bhuvnesh13396
Comment on attachment 8791660 [details] Bug 1299207 - Remove unused imports in test_click.py; https://reviewboard.mozilla.org/r/79022/#review77600 The second changeset is good. I'm giving an r- because you need to squash the two changesets together into one, using the second commit message. Use |hg histedit| to do this, then |hg push review| Your final commit message should include the same MozReview-Commit-ID, like this: ``` Bug 1299207 - Remove unused imports in test_click.py; r?maja_zf MozReview-Commit-ID: 9dDvAcsbZnS ```
Attachment #8791660 - Flags: review?(mjzffr) → review-
hg histedit opens this file https://pastebin.mozilla.org/8910506 What do I do next?
Please read the instructions that are in the file opened by |hg histedit|, and read how to use hg histedit here: https://www.mercurial-scm.org/wiki/HisteditExtension -- I found this by searching "hg histedit" on Google. In this case, you need to mark that the second commit should be combined with the first, then mark that you want to change the message for the first commit, then save and close the file. hg histedit will read the file and continue with the changes you asked for. If you run into problems/errors that you can't fix or if you have more specific questions, let us know.
Attachment #8791242 - Attachment is obsolete: true
Comment on attachment 8791660 [details] Bug 1299207 - Remove unused imports in test_click.py; https://reviewboard.mozilla.org/r/79022/#review77906 Thanks!
Attachment #8791660 - Flags: review?(mjzffr) → review+
Pushed by mjzffr@gmail.com: https://hg.mozilla.org/integration/autoland/rev/0a60d2f3b702 Remove unused imports in test_click.py; r=maja_zf
maja_zf: Can you please vouch me https://mozillians.org/en-US/u/bhuvi96/
I can vouch you once you make a few more substantial contributions. :)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: