[at-spi2-core: 38/47] Note on how fixtures get automatically created
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core: 38/47] Note on how fixtures get automatically created
- Date: Wed, 13 Jul 2022 03:08:30 +0000 (UTC)
commit c43de25fe36f5d583cccb629673171600506b1a2
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Jul 12 12:39:55 2022 -0500
Note on how fixtures get automatically created
tests/registryd/test_registry_startup.py | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/tests/registryd/test_registry_startup.py b/tests/registryd/test_registry_startup.py
index 4b69046e..9692953b 100644
--- a/tests/registryd/test_registry_startup.py
+++ b/tests/registryd/test_registry_startup.py
@@ -1,3 +1,9 @@
+# Pytest will pick up this module automatically when running just "pytest".
+#
+# Each test_*() function gets passed test fixtures, which are defined
+# in conftest.py. So, a function "def test_foo(bar)" will get a bar()
+# fixture created for it.
+
PROPERTIES_IFACE = 'org.freedesktop.DBus.Properties'
ACCESSIBLE_IFACE = 'org.a11y.atspi.Accessible'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]