Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Newsgroups: de.comp.lang.python Subject: =?utf-8?q?=5BPython-de=5D_Review_eines_Project_Layouts?= Date: Sat, 2 Jul 2022 16:27:02 +0000 Lines: 33 Message-ID: <4LZyBw0LNDz9rxP@submission02.posteo.de> Reply-To: python-de@python.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de 6vH89K6RraUd8MN6yHEmLwONdxH4ny51QxCIff/Syqhw== Authentication-Results: mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=posteo.jp header.i=@posteo.jp header.b=o+ECU5iE; dkim-adsp=pass; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.jp; s=2017; t=1656779224; bh=mrFzvjUrIjF962OuZuZJA2eE0krsd5aBh4ViqkpPEvA=; h=Date:From:To:Subject:From; b=o+ECU5iERYc8BFp8y8nGTBzgVx7lzUn5PEWaM0vOulgvlGvSfB4iut+K7WmMLgddh CLhnCGHOuyYjy9NvGNh7H50B0V7hmsgVEmRPP1Q8kVh1D3R/Kd48aVjMKvol4+AxAB BIQ/MoGdOXQuYXNEG5Fv6BGE9hYpJemXrmN1IKezWM1dHQBiK1VjfoNlk9p5Or2JKq zXIK4aam/MgAbV99vVgTJdCD6nB7jbibWvYaUTHNawreLo8U71raXtKYrT0m+AuxHz gqxtL36GlKNGg8TkPaBChFBdkTVeAHoyTFq1Z9XUWyz+wGcxKKOZKRlyjA4rmpjNzY fmw5NBVenl+Fw== Message-ID-Hash: 4AWRUOHQW7TDPNXH7YBHKYA6JJEQEPRB X-Message-ID-Hash: 4AWRUOHQW7TDPNXH7YBHKYA6JJEQEPRB X-MailFrom: c.buhtz@posteo.jp X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-python-de.python.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list List-Id: Die Deutsche Python Mailingliste Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Xref: csiph.com de.comp.lang.python:5821 Hallo, ich bin nicht besonders erfahren mit dem Ordner-Layout von Python Projekten und m=C3=B6chte hier gerne mal die Meinung von etwas Erfahreneren Entwicklern einholen und sehen, ob ich auf dem richtigen Weg bin. Es geht um diese Projekt, bei dem ich kein Entwickler oder Maintainer bin: https://github.com/DeepSpace2/StyleFrame Dass das "tests" Directory innerhalb des Source Directory (hier "styleframe" genannt) ist, habe ich schon =C3=B6fters gesehen. Das nehme ich mal als "normal" an, auch wenn es m.W. derzeit nicht mehr das empfohlene Vorgehen ist. Aber irgendwas stimmt mit den Tests nicht. Ich kann nicht, auf dem mir bekannten Weg, einzelnen Test-Klassen oder Methoden explizit ausw=C3=A4hlen. Beispielsweise m=C3=B6chte ich die Klasse "StyleFrameTest" (in style_frame_tests.py) laufen lassen. Mein CWD ist das Projekt-Root. "python3 -m unittest styleframe.tests.style_frame_tests.StyleFrameTest" So wird einfach kein Test gefunden. Warum kann ich nicht nachvollziehen. Ein discover l=C3=A4uft problemlos =C3=BCber alle Tests: "python3 -m unittest" Mache ich etwas falsch, oder ist das Layout einfach zu "strange"? Was k=C3=B6nnte man am Projekt diesbez=C3=BCglich verbessern? SG Christian