File: skip-test_app_cleans_up_images.patch

package info (click to toggle)
blockdiag 1.5.3%2Bdfsg-5.2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,664 kB
  • sloc: python: 8,535; makefile: 13; sh: 1
file content (27 lines) | stat: -rw-r--r-- 956 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
26
27
Description: Skip test_app_cleans_up_images (blockdiag.tests.test_command.TestBlockdiagApp)

Not worki test why I removes remote image url on diagram.
So skips the test case.

Author: Kouhei Maeda <mkouhei@palmtb.net>
Last-Updated: 2017-05-25
Index: blockdiag-1.5.3+dfsg/src/blockdiag/tests/test_command.py
===================================================================
--- blockdiag-1.5.3+dfsg.orig/src/blockdiag/tests/test_command.py	2015-02-21 18:41:26.000000000 +0900
+++ blockdiag-1.5.3+dfsg/src/blockdiag/tests/test_command.py	2017-05-25 23:40:26.477680607 +0900
@@ -2,6 +2,7 @@
 
 import os
 import sys
+from nose.tools import nottest
 from blockdiag.command import BlockdiagApp
 from blockdiag.tests.utils import TemporaryDirectory
 
@@ -12,6 +13,7 @@
 
 
 class TestBlockdiagApp(unittest.TestCase):
+    @nottest
     def test_app_cleans_up_images(self):
         testdir = os.path.dirname(__file__)
         diagpath = os.path.join(testdir,