Skip to content

Commit

Permalink
inadvertently removed tag_map import
Browse files Browse the repository at this point in the history
  • Loading branch information
lmtierney committed Jul 26, 2018
1 parent e3a7bf4 commit ece8b92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nerodia/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@
_str_types = (six.binary_type, six.text_type)


from . import tag_map


def element_class_for(tag_name):
return tag_to_class.get(tag_name)
1 change: 1 addition & 0 deletions tests/browser/elements/element_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def test_returns_a_div_instance(self, browser):
from nerodia.elements.html_elements import Div
assert isinstance(browser.element(xpath="//*[@id='messages']").to_subtype(), Div)


class TestElementFocus(object):
def test_fires_the_onfocus_event_for_the_given_element(self, browser):
tf = browser.text_field(id='new_user_occupation')
Expand Down

0 comments on commit ece8b92

Please sign in to comment.