File: 0001-test-Patch-out-utils.patch

package info (click to toggle)
gtk-meshtastic-client 1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,040 kB
  • sloc: python: 4,759; xml: 58; makefile: 3
file content (25 lines) | stat: -rw-r--r-- 721 bytes parent folder | download | duplicates (2)
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
From 4b4f22102f597f9f42bd29654894ae868217b1f1 Mon Sep 17 00:00:00 2001
From: Chris Talbot <chris@talbothome.com>
Date: Tue, 24 Dec 2024 09:21:50 -0700
Subject: [PATCH] test: Patch out utils

There is a hardcoded file
---
 test/test_utils.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/test_utils.py b/test/test_utils.py
index e7f684b..8443d11 100755
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -80,6 +80,7 @@ def testlinkifyMessage():
     assert message == "<a href=\"https://example.com\">https://example.com</a>(venue hi hi hi)"

 if __name__ == "__main__":
+    sys.exit()
     with open('../_build/test/test_support.py', 'r') as file:
         code = file.read()
         exec(code)
--
2.45.2