Skip to content

Commit

Permalink
Changes as per 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
prakashpp committed Apr 25, 2017
1 parent bc2bffb commit 2f5128c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 26 deletions.
4 changes: 2 additions & 2 deletions cookiecutter.json
Expand Up @@ -7,6 +7,6 @@
"description": "",
"licence": "BSD",
"repo_name": "module-name",
"version": "3.4.0.1",
"year": "2016"
"version": "4.0.0.1",
"year": "2017"
}
29 changes: 5 additions & 24 deletions {{cookiecutter.repo_name}}/tests/test_views_depends.py
Expand Up @@ -8,32 +8,12 @@
import unittest

import trytond.tests.test_tryton
from trytond.tests.test_tryton import test_view, test_depends
from trytond.tests.test_tryton import ModuleTestCase


class TestViewsDepends(unittest.TestCase):
'''
Test views and depends
'''

def setUp(self):
"""
Set up data used in the tests.
this method is called before each test function execution.
"""
trytond.tests.test_tryton.install_module('{{ cookiecutter.module_name}}') # noqa

def test0005views(self):
'''
Test views.
'''
test_view('{{ cookiecutter.module_name }}')

def test0006depends(self):
'''
Test depends.
'''
test_depends()
class TestViewsDepends(ModuleTestCase):
"""Test View Depends."""
module = '{{ cookiecutter.module_name }}'


def suite():
Expand All @@ -46,5 +26,6 @@ def suite():
)
return test_suite


if __name__ == '__main__':
unittest.TextTestRunner(verbosity=2).run(suite())

0 comments on commit 2f5128c

Please sign in to comment.