2018-06-23 11:53:56 +00:00
|
|
|
import pytest
|
|
|
|
|
|
|
|
|
2018-08-17 09:57:42 +00:00
|
|
|
def test_pandas(selenium, request):
|
2018-08-20 15:09:23 +00:00
|
|
|
if selenium.browser == 'chrome':
|
2018-08-17 09:57:42 +00:00
|
|
|
request.applymarker(pytest.mark.xfail(
|
|
|
|
run=False, reason='chrome not supported'))
|
2018-05-04 17:09:32 +00:00
|
|
|
selenium.load_package("pandas")
|
2018-05-09 18:42:29 +00:00
|
|
|
assert len(selenium.run("import pandas\ndir(pandas)")) == 179
|
2018-04-24 23:29:54 +00:00
|
|
|
|
|
|
|
|
2018-08-17 09:57:42 +00:00
|
|
|
def test_extra_import(selenium, request):
|
2018-08-20 20:44:08 +00:00
|
|
|
if selenium.browser == 'chrome':
|
2018-08-17 09:57:42 +00:00
|
|
|
request.applymarker(pytest.mark.xfail(
|
|
|
|
run=False, reason='chrome not supported'))
|
|
|
|
|
2018-05-23 11:23:49 +00:00
|
|
|
selenium.load_package("pandas")
|
2018-04-24 23:29:54 +00:00
|
|
|
selenium.run("from pandas import Series, DataFrame, Panel")
|