blob: 5c2370a1fd5f3602fdff288a7b865ef38c65cca5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# -*- coding: utf-8 -*-
from __future__ import unicode_literals, absolute_import
# This code is so you can run the samples without installing the package,
# and should be before any import touching nikola, in any file under tests/
import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
import unittest
from nikola.plugins.command.version import CommandVersion
class CommandVersionCallTest(unittest.TestCase):
def test_version(self):
"""Test `nikola version`."""
CommandVersion().execute()
|