/usr/share/quickly/templates/ubuntu-application/project_root/tests/test_example.py is in quickly-ubuntu-template 12.08.1-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #!/usr/bin/python
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
### BEGIN LICENSE
# This file is in the public domain
### END LICENSE
import sys
import os.path
import unittest
sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), "..")))
from python_name import Aboutcamel_case_nameDialog
class TestExample(unittest.TestCase):
def setUp(self):
self.Aboutcamel_case_nameDialog_members = [
'AboutDialog', 'Aboutcamel_case_nameDialog', 'gettext', 'logger', 'logging']
def test_Aboutcamel_case_nameDialog_members(self):
all_members = dir(Aboutcamel_case_nameDialog)
public_members = [x for x in all_members if not x.startswith('_')]
public_members.sort()
self.assertEqual(self.Aboutcamel_case_nameDialog_members, public_members)
if __name__ == '__main__':
unittest.main()
|