ordigi/tests/test_dozo.py

20 lines
373 B
Python
Raw Normal View History

2021-08-08 15:33:47 +02:00
import pytest
CONTENT = "content"
2021-08-14 21:28:40 +02:00
class TestOrdigi:
2021-08-08 15:33:47 +02:00
@pytest.mark.skip()
def test__sort(self):
assert 0
def test_needsfiles(tmpdir):
assert tmpdir
def test_create_file(tmp_path):
d = tmp_path / "sub"
d.mkdir()
p = d / "hello.txt"
p.write_text(CONTENT)
assert p.read_text() == CONTENT
assert len(list(tmp_path.iterdir())) == 1