@@ -12,6 +12,7 @@ def pytest_addoption(parser):
1212 'SeleniumBase specific configuration options' )
1313 parser .addoption ('--browser' , action = "store" ,
1414 dest = 'browser' ,
15+ type = str .lower ,
1516 choices = constants .ValidBrowsers .valid_browsers ,
1617 default = constants .Browser .GOOGLE_CHROME ,
1718 help = """Specifies the web browser to use. Default: Chrome.
@@ -23,9 +24,11 @@ def pytest_addoption(parser):
2324 help = "Use if tests need to be run with a web browser." )
2425 parser .addoption ('--env' , action = 'store' ,
2526 dest = 'environment' ,
27+ type = str .lower ,
2628 choices = (
2729 constants .Environment .QA ,
2830 constants .Environment .STAGING ,
31+ constants .Environment .DEVELOP ,
2932 constants .Environment .PRODUCTION ,
3033 constants .Environment .MASTER ,
3134 constants .Environment .LOCAL ,
@@ -50,7 +53,8 @@ def pytest_addoption(parser):
5053 parser .addoption ('--database_env' , action = 'store' ,
5154 dest = 'database_env' ,
5255 choices = (
53- 'prod' , 'qa' , 'staging' , 'test' , 'local' , 'master'
56+ 'production' , 'qa' , 'staging' , 'develop' ,
57+ 'test' , 'local' , 'master'
5458 ),
5559 default = 'test' ,
5660 help = optparse .SUPPRESS_HELP )
0 commit comments