File: test_foo.py

package info (click to toggle)
dh-python 6.20250414
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,560 kB
  • sloc: python: 5,209; makefile: 575; perl: 249; sh: 35
file content (11 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
from unittest import TestCase


class RequiredTest(TestCase):
    def test_tests_are_executed(self):
        open('test-executed', 'w').close()

    def test_testfiles_exist(self):
        open('testfile1.txt').close()
        open('testfile2.txt').close()
        open('testdir/testfile3.txt').close()