1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:40:05 +08:00
SpaceVim/bundle/vim-mundo/autoload/graphlog_test.py

17 lines
293 B
Python
Raw Normal View History

2020-10-31 15:52:34 +08:00
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 ']])