| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The direct construction of nodes is deprecated since Pytest 5.4 [0]:
> The construction of nodes now should use the named constructor
from_parent. This limitation in api surface intends to enable
better/simpler refactoring of the collection tree.
This means that instead of MyItem(name="foo", parent=collector, obj=42)
one now has to invoke MyItem.from_parent(collector, name="foo").
[0]: https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent
Fixes: https://github.com/Kronuz/pyScss/issues/407
Signed-off-by: Stanislav Levin <slev@altlinux.org>
|
| |
|
|
|
|
|
| |
The biggest impetus here is to allow Django integration without having
to copy and paste massive piles of code.
|
|
|
|
|
|
|
| |
Port the file tests and the "xfail" missing import test to use them.
Also: current directory is no longer in the search path by default,
but compile_file() adds the given file's containing directory.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each .scss file is now its own test -- you can run them directly, with
`py.test scss/tests/files/foo/bar.scss`, or use wildcards, or specify a
partial directory, or whatever.
Accordingly, `test_files.py` is gone, as is the `--test-file-filter`
option that was so cumbersome I never actually used it.
Regressions:
- xfail is no longer supported.
- Ruby tests are now not collected at all, rather than marked as
skipped.
|
|
|
|
|
| |
- Tests ported from Ruby and sassc are skipped by default.
- New xfail directory for test files known to be broken.
|
|
|