mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
Unskip some tests, delete others (#1742)
Clean up a bit the testsuite and integration tests. Highlights: - Some of the @skipped tests just worked -- I unskipped them - some worked after some small tweak to adapt to the new pyscript next - some are still skipped, but I tweaked the skip message to be more precise and descriptive - Moreover, I killed/removed the ones which no longer make sense in the context of pyscript next; in particular, I removed all the ones which tested Element (which is now gone) and the one which tested py-config features which are no longer needed (e.g., multiple interpreters). The testsuite passes locally.
This commit is contained in:
@@ -126,7 +126,7 @@ def filter_page_content(lines, exclude=None):
|
||||
|
||||
|
||||
@pytest.mark.usefixtures("init")
|
||||
@with_execution_thread("main", "worker")
|
||||
@with_execution_thread("main") # , "worker") # XXX re-enable workers eventually
|
||||
class PyScriptTest:
|
||||
"""
|
||||
Base class to write PyScript integration tests, based on playwright.
|
||||
@@ -179,6 +179,7 @@ class PyScriptTest:
|
||||
# create a symlink to BUILD inside tmpdir
|
||||
tmpdir.join("build").mksymlinkto(BUILD)
|
||||
self.tmpdir.chdir()
|
||||
self.tmpdir.join('favicon.ico').write("")
|
||||
self.logger = logger
|
||||
self.execution_thread = execution_thread
|
||||
self.dev_server = None
|
||||
|
||||
Reference in New Issue
Block a user