-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added placeholder for cli tests. Update docs a bit. Various minor edi…
…ts and comments.
- Loading branch information
Martin Sandve Alnæs
committed
Dec 21, 2015
1 parent
1ef659c
commit e0ad993
Showing
8 changed files
with
56 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
from __future__ import unicode_literals | ||
|
||
import pytest | ||
|
||
from nbdime.nbdiffapp import main_diff | ||
from nbdime.nbpatchapp import main_patch | ||
from nbdime.nbmergeapp import main_merge | ||
|
||
|
||
@pytest.mark.xfail(reason="need to add actual test files") | ||
def test_nbdiff_app(): | ||
afn = "a.ipynb" | ||
bfn = "b.ipynb" | ||
dfn = "d.json" | ||
assert 0 == main_diff(afn, bfn, dfn) | ||
|
||
|
||
@pytest.mark.xfail(reason="need to add actual test files") | ||
def test_nbpatch_app(): | ||
afn = "a.ipynb" | ||
dfn = "d.json" | ||
assert 0 == main_patch(afn, dfn) | ||
|
||
|
||
@pytest.mark.xfail(reason="need to add actual test files") | ||
def test_nbmerge_app(): | ||
bfn = "b.ipynb" | ||
lfn = "l.ipynb" | ||
rfn = "r.ipynb" | ||
mfn = "m.ipynb" | ||
assert 0 == main_merge(bfn, lfn, rfn, mfn) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters