File: use-raw-strings-to-avoid-warning.patch

package info (click to toggle)
python-scciclient 0.16.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 800 kB
  • sloc: python: 7,935; xml: 2,377; makefile: 24; sh: 2
file content (31 lines) | stat: -rw-r--r-- 1,465 bytes parent folder | download
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
27
28
29
30
31
Description: Use raw strings to avoid warning during install
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2024-03-19

--- python-scciclient-0.15.0.orig/scciclient/tests/irmc/test_elcm.py
+++ python-scciclient-0.15.0/scciclient/tests/irmc/test_elcm.py
@@ -2308,7 +2308,7 @@ class ELCMTestCase(testtools.TestCase):
                 "Id": 1,
                 "Tag": "",
                 "WorkSequence": "obtainProfileParameters",
-                "Start": "2018\/03\/19 12:28:03",
+                "Start": r"2018\/03\/19 12:28:03",
                 "Duration": 249,
                 "Status": "terminated regularly"
             }
@@ -2366,12 +2366,12 @@ class ELCMTestCase(testtools.TestCase):
                 'Entries': {
                     'Entry': [
                         {
-                            '@date': '2018\/03\/12 15:10:00',
+                            '@date': r'2018\/03\/12 15:10:00',
                             '#text': 'createRaidDatabase: '
                                      'RAID Controller check start'
                         },
                         {
-                            '@date': '2018\/03\/19 09:40:03',
+                            '@date': r'2018\/03\/19 09:40:03',
                             '#text': 'LCMScheduler: Executing of '
                                      'obtainProfileParameters prohibited as '
                                      'obtainProfileParameters currently '