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

package info (click to toggle)
python-scciclient 0.17.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 832 kB
  • sloc: python: 7,931; xml: 2,377; makefile: 24; sh: 2
file content (33 lines) | stat: -rw-r--r-- 1,579 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
32
33
Description: Use raw strings to avoid warning during install
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2024-03-19

Index: python-scciclient/scciclient/tests/irmc/test_elcm.py
===================================================================
--- python-scciclient.orig/scciclient/tests/irmc/test_elcm.py
+++ python-scciclient/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 '