Commit 44ea8448 authored by Yuanle Song's avatar Yuanle Song
Browse files

v0.8.1 add a dumb test to make py.test happy

for empty project.
parent 5f40fce1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
(defproject python/lein-template "0.8.0"
(defproject python/lein-template "0.8.1"
  :description "lein template for a python project"
  :repositories [["snapshots"
                  {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots"
+2 −1
Original line number Diff line number Diff line
@@ -64,7 +64,8 @@
        empty-files ["{{name}}/__init__.py"]
        package-files ["logger.conf"
                       "configlogger.py"
                       "config.py"]
                       "config.py"
                       "test_main.py"]
        post-run-commands ["chmod -R +x utils/ git-hooks/ deb-scripts/"
                           ]]
    (main/info "Generating new python project:" name)
+13 −0
Original line number Diff line number Diff line
#!/usr/bin/env python
# coding=utf-8

"""Project unit tests.

"""


def test_dumb():
    """a unit test to make py.test run pass on empty project.

    """
    assert True