Closed Bug 1131763 Opened 9 years ago Closed 9 years ago

Remove dead constants

Categories

(Testing :: Marionette Client and Harness, defect)

defect
Not set
normal

Tracking

(firefox38 fixed)

RESOLVED FIXED
mozilla38
Tracking Status
firefox38 --- fixed

People

(Reporter: automatedtester, Unassigned, Mentored)

Details

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

Attachments

(1 file)

The const in https://dxr.mozilla.org/mozilla-central/source/testing/marionette/client/marionette/marionette.py#31-38 don't appear to be used so we might as well remove them. Once removed we will need to run tests and push to try

Run tests wiht the following command
./mach marionette-tests # runs tests

Run against try incase there is some dependency that is using them

Try syntax
'try: -b do -p linux,macosx64,macosx64_gecko,win32,linux_gecko,linux64_gecko,linux64-mulet -u marionette,marionette-webapi,gaia-ui-test,gaia-integration,web-platform-tests,crashtest-1,crashtest-2,crashtest-3,reftest-1,reftest-2,reftest-3,reftest-4,reftest-5,reftest-6,reftest-7,reftest-8,reftest-9,reftest-10,reftest-11,reftest-12,reftest-13,reftest-14,reftest-15,reftest-16,reftest-17,reftest-18,reftest-19,reftest-20 -t none'"
Tests finished with one unrelated error:

ERROR test_selectioncarets.py SelectionCaretsTest.test_contenteditable2_minimum_select_one_character

There were also 2 failed tests involving test_selectioncarets.py

The results of the test were the same with and without the constants. 

Should I submit the patch?
Hey Boris, 

yes please, I will run the tests locally anyway. Thanks for the patch!
Attachment #8566929 - Flags: review?(ato) → review+
Thanks for doing this! I really appreciate your effort! We have more good first bugs at https://wiki.mozilla.org/Auto-tools/Projects/Marionette/Auto-tools/Projects/Marionette/Roadmap#Good_First_Bugs if you are looking for more!
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/492a04a7efc4
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Product: Testing → Remote Protocol

Moving bugs for Marionette client due to component changes.

Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: