-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix tests that were failing due to the use of the deprecated assert_equals statements. #64
Open
tisto
wants to merge
28
commits into
ncbi:master
Choose a base branch
from
kitconcept:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
d4ff793
Fix failing tests due to the use of deprecated assert_equals.
tisto d7fb850
Add a few files that were missing in .gitignore.
tisto 1ba1491
Run tests against Python 3.5 and allow those to fail on travis (for n…
tisto c332b5e
Move tests folder into robotpageobjects in order to allow proper impo…
tisto 6fd503e
Use Python 3 compatible Exception as.
tisto 9015ce1
Install py3 compatible version of selenium2library for py3.
tisto ffbf374
Fix imports and exceptions for Python 3.
tisto ab513be
Attempt to fix monkey patch of __old_tef_init for py3.
tisto 2f926b6
Fix str check; urllib2 import and exceptions for Python 3.
tisto fdaf2c3
Add six to requirements.txt.
tisto 4b59b4c
Fix super call for python2.
tisto bc6916e
Revert "Fix super call for python2."
tisto e89f8a2
Revert "Add six to requirements.txt."
tisto 466f7d3
Revert "Fix str check; urllib2 import and exceptions for Python 3."
tisto e6fbde3
Add six to requirements.txt.
tisto b222227
Use six.string_types for py2/3 compatibility.
tisto 704271b
Fix urllib import for py3; Fix super call in OptionHandler for py3; F…
tisto 98aea34
Fix a few relative imports.
tisto cee1423
Fix tests module.
tisto 68868a6
Revert "Fix tests module."
tisto 83f26d7
Revert "Fix a few relative imports."
tisto e830171
Fix tests init file.
tisto 4355a1c
Fix relative imports in scenarios.po.
tisto bb448aa
Fix relative imports in test_functional.py and test_unit.py.
tisto 3a267c6
Fix relative imports in test_unit.py, resultspage.py, and homepage.py.
tisto 16f58fa
Revert "Fix relative imports in test_unit.py, resultspage.py, and hom…
tisto 963702c
Add Makefile.
tisto e36e1de
Fix relative imports in test_unit.py.
tisto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
SHELL := /bin/bash | ||
CURRENT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) | ||
|
||
all: test | ||
|
||
test: | ||
@echo "Run Tests" | ||
nosetests -vs --with-xunit robotpageobjects/tests/test_unit.py robotpageobjects/tests/test_functional.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
decorator | ||
mock==1.0.1 | ||
requests==2.1.0 | ||
robotframework-selenium2library==1.7.2 | ||
robotframework-selenium2library | ||
six | ||
uritemplate==0.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
from .base import Override, robot_alias, not_keyword | ||
from .page import Page | ||
from .component import Component | ||
|
||
from robotpageobjects.base import Override, robot_alias, not_keyword | ||
from robotpageobjects.page import Page | ||
from robotpageobjects.component import Component |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
0
tests/__init.__.py → ...ageobjects/tests/scenarios/po/__init__.py
100755 → 100644
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
robotpageobjects/tests/scenarios/po/basepageobjects/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from robotpageobjects.tests.scenarios.po.basepageobjects.homepage import BaseHomePage | ||
from robotpageobjects.tests.scenarios.po.basepageobjects.resultspage import BaseResultsPage |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
robotpageobjects/tests/scenarios/po/mydbpageobjects/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from robotpageobjects.tests.scenarios.po.mydbpageobjects.homepage import MyDBHomePage | ||
from robotpageobjects.tests.scenarios.po.mydbpageobjects.resultspage import MyDBResultsPage |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason for changing these relative imports?