Commit Graph

114 Commits

Author SHA1 Message Date
Roman Yurchak 59de8d4a6d Expose version information in javascript 2018-09-14 17:12:32 +02:00
Roman Yurchak 02ce5a4a9e
Merge pull request #155 from mdboom/allow-memory-growth
Set ALLOW_MEMORY_GROWTH=1
2018-09-13 18:01:55 +02:00
Michael Droettboom 20361551a8 Stream the data from the CGI script 2018-09-12 16:26:51 -04:00
Michael Droettboom 65817abc7d Add test 2018-09-12 10:16:23 -04:00
Michael Droettboom 3b6855b0b4 Update {chrome,firefox}_options to options
Selenium is saying:

/home/circleci/repo/pyodide-env/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py:50: DeprecationWarning: use options instead of chrome_options
  warnings.warn('use options instead of chrome_options', DeprecationWarning)
2018-09-10 15:08:14 -04:00
Michael Droettboom 3f11d15b7a LINT 2018-09-07 15:14:28 -04:00
Michael Droettboom 7f3027b6f4 Fix tests 2018-09-07 15:07:45 -04:00
Michael Droettboom 5bb8926467 Still get error messages out (through console) 2018-09-07 14:23:17 -04:00
Michael Droettboom 1bd19e3fe4 Ensure that package loading runs in sequence 2018-09-07 14:23:17 -04:00
Roman Yurchak d869ac5bfc Use multi-line code snippets in tests 2018-09-07 14:35:00 +02:00
Michael Droettboom 35ee0eb9da Add additional tests not found in Python 3.6 2018-09-06 11:47:18 -04:00
Michael Droettboom 56562257ef Fix #71: Upgrade to Python 3.7 2018-09-06 10:56:33 -04:00
Roman Yurchak fb13af0497 Refactor tests/make_test_list.py 2018-09-06 14:34:55 +02:00
Michael Droettboom 56ee2e6856
Merge pull request #136 from rth/load-packages-multiple
Load multiple packages in pyodide.loadPackage
2018-09-05 08:04:26 -04:00
Roman Yurchak ed3e0c5499 TST Load multiple dependent and independent packages
Also remove the (failing) tests with simultaneous package loading
2018-09-04 17:02:50 +02:00
Roman Yurchak 82a625641b Better tests when loading multiple packages 2018-09-03 15:59:21 +02:00
Roman Yurchak 82cd3e4576 Allow array input in pyodide.loadPackage 2018-09-03 15:23:54 +02:00
Roman Yurchak 86497e9818 Remove prints used for debugging 2018-09-03 10:29:36 +02:00
Roman Yurchak 4404274eef Package nose 2018-09-03 10:29:36 +02:00
Roman Yurchak 4dd93ca99a Testing pytest 2018-09-03 10:29:36 +02:00
Roman Yurchak 11fcaf8da6 Throw error on invalid packages 2018-08-29 11:22:43 +03:00
Roman Yurchak c9d5ba3c8e Better logs when PyodideInited() or PackageLoaded() fails on Chrome 2018-08-28 18:24:48 +03:00
Roman Yurchak f35aa2eede More review comments 2018-08-28 17:59:13 +03:00
Roman Yurchak 5030eae5b7 Re-use built-in web server 2018-08-28 17:59:13 +03:00
Roman Yurchak ff45a550a6 Flake8 and store artefacts in CircleCI 2018-08-28 17:59:13 +03:00
Roman Yurchak 068906bbf7 Unit tests for loading packages from user defined URLs 2018-08-28 17:59:13 +03:00
Roman Yurchak 4f665e0a3a Validate package URI 2018-08-28 17:58:56 +03:00
Roman Yurchak f50275335d Checking valid package name / url 2018-08-28 17:58:56 +03:00
Roman Yurchak bfd0e58631 Address review comments 2018-08-28 16:20:35 +03:00
Roman Yurchak 153c6324b9 Copy test data in a pytest fixture 2018-08-28 14:42:14 +03:00
Roman Yurchak 0b752777a2 Don't use pytest-rerunfailures 2018-08-22 12:43:07 +03:00
Roman Yurchak e2a723de5f Don't run xfail tests 2018-08-22 12:42:22 +03:00
Roman Yurchak 396ca9cfcc Fix typo and more passing tests 2018-08-21 11:09:34 +03:00
Roman Yurchak 02b61eea62 Use selenium.browser in test_run_core_python_test 2018-08-21 11:09:34 +03:00
Roman Yurchak f0b9cf1c51 Run CPython tests that used to crash and now pass 2018-08-21 11:09:34 +03:00
Roman Yurchak 16ff5aaeef Add browser attribute in selenium fixture 2018-08-21 11:09:34 +03:00
Roman Yurchak 7553ab4bfe Mark pandas as XFAIL on chrome 2018-08-21 11:08:47 +03:00
Roman Yurchak 02905d8ca5 Show pytest report for skipped tests, XFAIL, XPASS 2018-08-21 11:08:47 +03:00
Roman Yurchak 22ecc34847 Supporting Chrome/Firefox specific failures 2018-08-21 11:08:47 +03:00
Roman Yurchak 30195bfa8a Marking known failures in test_run_core_python_test 2018-08-21 11:08:47 +03:00
Roman Yurchak ee8ac7471e Fix matplotlib and mark test_rlcompleter as crashing 2018-08-20 23:29:26 +03:00
Roman Yurchak ce15a29157 Fix matplotlib tests 2018-08-20 20:10:32 +03:00
Roman Yurchak 9245f6f246 More generic selenium fixture caching mechanism 2018-08-20 20:02:12 +03:00
Roman Yurchak 6b51f3a21e Cache selenium fixture at the module level 2018-08-20 18:50:25 +03:00
Roman Yurchak af8058c41d Fix package name / import name issue 2018-08-17 10:37:10 +03:00
Roman Yurchak 6d6f60e84f Mark pandas as a known failure on Chrome 2018-08-16 12:39:51 +03:00
Roman Yurchak 076e9bb083 Address review comments 2018-08-07 08:24:22 +03:00
Roman Yurchak f38e01e475 Mechanism for testing imports 2018-08-07 08:24:22 +03:00
Michael Droettboom 154a65ff7b Add missing import 2018-08-06 15:01:59 -04:00
Michael Droettboom 6c8c599dce Automatically retry failed tests 2018-08-06 14:29:19 -04:00