Skip to content

Commit

Permalink
prepare 0.10.5
Browse files Browse the repository at this point in the history
  • Loading branch information
barseghyanartur committed Feb 13, 2017
1 parent 3f52694 commit 248f0c6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ are used for versioning (schema follows below):

0.10.5
------
yyyy-mm-dd (not released yet)
2017-02-13

- Tested against Python 3.6.
- Initial (experimental) Django 1.11 support.

0.10.4
------
Expand Down
1 change: 1 addition & 0 deletions scripts/clean_up.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
find . -name "*.pyc" -exec rm -rf {} \;
find . -name "*.py,cover" -exec rm -rf {} \;
find . -name "*.orig" -exec rm -rf {} \;
find . -name "__pycache__" -exec rm -rf {} \;
rm -rf build/
rm -rf dist/
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from distutils.version import LooseVersion
from setuptools import setup, find_packages

version = '0.10.4'
version = '0.10.5'

# ***************************************************************************
# ************************** Python version *********************************
Expand Down
4 changes: 2 additions & 2 deletions src/fobi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__title__ = 'django-fobi'
__version__ = '0.10.4'
__build__ = 0x000077
__version__ = '0.10.5'
__build__ = 0x000078
__author__ = 'Artur Barseghyan <[email protected]>'
__copyright__ = '2014-2017 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
Expand Down
8 changes: 7 additions & 1 deletion src/fobi/tests/test_browser_build_dynamic_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ def _click(self, element):
"""Click on any element."""
self.selenium.execute_script("$(arguments[0]).click();", element)

def _aggressive_click(self, element):
"""Aggressive click."""
link = element.get_attribute('href')
self.selenium.get(link)

def _go_to_dashboard(self, wait=WAIT_FOR):
"""Go to dashboard."""
# Authenticate user.
Expand Down Expand Up @@ -403,8 +408,9 @@ def _remove_form_element(self, form_element_name, form_element_data,
.find_element_by_partial_link_text(
'Delete'
)
delete_form_element_link.click()
# delete_form_element_link.click()
# self._click(delete_form_element_link)
self._aggressive_click(delete_form_element_link)

logger.debug(form_element_name)

Expand Down

0 comments on commit 248f0c6

Please sign in to comment.