Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
Update from pull comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zacc committed Aug 1, 2012
1 parent b7cb232 commit 8a5b567
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_nondestructive.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@
from pages.page_object import MySiteHomePage from pages.page_object import MySiteHomePage




class TestDestructive(): class TestNonDestructive():


@pytest.mark.nondestructive @pytest.mark.nondestructive
def test_load_baseurl_nondestructive(self, mozwebqa): def test_load_baseurl_nondestructive(self, mozwebqa):
''' """
This test is nondestructive - it does not write This test is nondestructive - it does not write
to the database or leave a mark on the website to the database or leave a mark on the website
''' """
home_page = MySiteHomePage(mozwebqa) home_page = MySiteHomePage(mozwebqa)
home_page.go_to_home_page() home_page.go_to_home_page()
Assert.true(home_page.is_the_current_page) Assert.true(home_page.is_the_current_page)


def test_load_baseurl_destructive(self, mozwebqa): def test_load_baseurl_destructive(self, mozwebqa):
''' """
This test is *not* marked as nondestructive and This test is *not* marked as nondestructive and
will be automatically skipped when run against will be automatically skipped when run against
a sensitive (ie Production) URL a sensitive (ie Production) URL
''' """
pass pass

0 comments on commit 8a5b567

Please sign in to comment.