mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:40:05 +08:00
17 lines
293 B
Python
17 lines
293 B
Python
|
import nose
|
||
|
from nose.tools import *
|
||
|
from mock import patch
|
||
|
import mundo.graphlog as graphlog
|
||
|
from mundo.node import Nodes
|
||
|
|
||
|
@patch('mundo.util.vim')
|
||
|
def test_generate(mock_vim):
|
||
|
eq_(graphlog.generate(
|
||
|
False,
|
||
|
0,
|
||
|
1,
|
||
|
2,
|
||
|
False,
|
||
|
Nodes()
|
||
|
), [['o ', '[0] Original ']])
|