<gh_stars>1-10
# Copyright (c) <NAME> <<EMAIL>>
# See LICENSE file.

from _sadm.web.view import about

def test_about(testing_webapp):
	wapp = testing_webapp('view')
	with wapp.mock() as ctx:
		d = about.about()
		ctx.wapp.route.assert_any_call('/about')
		ctx.view.assert_any_call('about.html')
		ctx.tpl.data.assert_any_call('about')
		assert sorted(d.keys()) == [
			'bottleVersion',
			'curyear',
			'pythonVersion',
			'sqliteLibVersion',
			'sqliteVersion',
		]

# Copyright (c) <NAME> <<EMAIL>>
# See LICENSE file.

from _sadm.web.view import about

def test_about(testing_webapp):
	wapp = testing_webapp('view')
	with wapp.mock() as ctx:
		d = about.about()
		ctx.wapp.route.assert_any_call('/about')
		ctx.view.assert_any_call('about.html')
		ctx.tpl.data.assert_any_call('about')
		assert sorted(d.keys()) == [
			'bottleVersion',
			'curyear',
			'pythonVersion',
			'sqliteLibVersion',
			'sqliteVersion',
		]
# Copyright (c) <NAME> <<EMAIL>> # See LICENSE file.