Skip to content

Commit

Permalink
Merge 325cd4a into 9237f70
Browse files Browse the repository at this point in the history
  • Loading branch information
rgonalo committed Apr 4, 2023
2 parents 9237f70 + 325cd4a commit c52732e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
6 changes: 3 additions & 3 deletions requirements.txt
@@ -1,8 +1,8 @@
requests~=2.27 # api tests
selenium~=4.0 # web tests
Appium-Python-Client~=2.0 # mobile tests
Pillow~=9.4.0 # visual testing
Pillow~=9.4 # visual testing
screeninfo~=0.8
lxml~=4.9
Faker==18.3.1
phonenumbers==8.13.8
Faker~=18.3
phonenumbers~=8.13
4 changes: 2 additions & 2 deletions requirements_dev.txt
Expand Up @@ -6,5 +6,5 @@ requests-mock~=1.10
Pygments~=2.14
flake8~=5.0; python_version < '3.8'
flake8~=6.0; python_version >= '3.8'
build~=0.10.0
wheel~=0.40.0
build~=0.10
wheel~=0.40
9 changes: 0 additions & 9 deletions toolium/behave/environment.py
Expand Up @@ -20,12 +20,6 @@
import os
import re

try:
from behave_pytest.hook import install_pytest_asserts
except ImportError:
def install_pytest_asserts():
pass

from toolium.utils import dataset
from toolium.config_files import ConfigFiles
from toolium.driver_wrapper import DriverWrappersPool
Expand All @@ -40,9 +34,6 @@ def before_all(context):
:param context: behave context
"""
# Use pytest asserts if behave_pytest is installed
install_pytest_asserts()

# Get 'TOOLIUM_CONFIG_ENVIRONMENT' property from user input (e.g. -D TOOLIUM_CONFIG_ENVIRONMENT=ios)
env = context.config.userdata.get('TOOLIUM_CONFIG_ENVIRONMENT')
if env:
Expand Down

0 comments on commit c52732e

Please sign in to comment.