Commit 387d1fbc authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Start testing nbcourse

parent 845ae2b2
from nbcourse.initialize import initialize
from nbcourse.nbcourse import NbCourse
import pytest
from pathlib import Path
@pytest.fixture(scope="session")
def create_project(tmpdir_factory):
"""Create a temporary nbcourse project skeleton"""
p = tmpdir_factory.mktemp("test_project")
initialize()
return p
def test_minimal_nbcourse():
"""Only test nbcourse object instantiation"""
NbCourse()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment