From bd39c1c410721aac5a73e38d8f989df0261cdbb6 Mon Sep 17 00:00:00 2001 From: Matt Bachmann Date: Wed, 22 Jun 2022 17:11:49 -0400 Subject: [PATCH] Update test outputs to match new formatted html --- ...ycodestyle_violations_report_external_css.html | 8 ++++---- tests/fixtures/snippet_arabic_output.html | 7 +++---- tests/fixtures/snippet_default.html | 7 +++---- tests/fixtures/snippet_invalid_violations.html | 7 +++---- tests/fixtures/snippet_list.html | 15 +++++++-------- tests/fixtures/snippet_no_filename_ext.html | 7 +++---- tests/fixtures/snippet_unicode.html | 5 ++--- tests/fixtures/snippet_unicode_html_output.html | 15 +++++++-------- 8 files changed, 32 insertions(+), 39 deletions(-) diff --git a/tests/fixtures/pycodestyle_violations_report_external_css.html b/tests/fixtures/pycodestyle_violations_report_external_css.html index 9a0b50f7f2ab555425d8f9c05f429976b5daa91c..ca7b83bce9b3edabeebb67e04c34c3a02063f139 100644 --- a/tests/fixtures/pycodestyle_violations_report_external_css.html +++ b/tests/fixtures/pycodestyle_violations_report_external_css.html @@ -35,7 +35,7 @@

Diff Quality

violations_test_file.py
-
 1
+            
 1
  2
  3
  4
@@ -46,7 +46,7 @@ 

Diff Quality

9 10 11 -12
def func_1(apple, my_list):
+12
def func_1(apple, my_list):
     if apple<10:
         # Do something 
         my_list.append(apple)
@@ -58,8 +58,8 @@ 

Diff Quality

return char unused=1 return None -
-
+
+
diff --git a/tests/fixtures/snippet_arabic_output.html b/tests/fixtures/snippet_arabic_output.html index 9ad797285b08a152772b8421f8c08e0301bff094..5f84ff151137a417dd913bf013c1525223f78326 100644 --- a/tests/fixtures/snippet_arabic_output.html +++ b/tests/fixtures/snippet_arabic_output.html @@ -1,11 +1,11 @@ -
 3
+
 3
  4
  5
  6
  7
  8
  9
-10
Line 3
+10
Line 3
 Line 4
 Line 5
 Line 6
@@ -13,5 +13,4 @@
 Line 8
 Line 9
 Line 10
-
-
\ No newline at end of file +
\ No newline at end of file diff --git a/tests/fixtures/snippet_default.html b/tests/fixtures/snippet_default.html index 4da8d0ccb93b97a415ddb7affdf3f79bd259ce45..3cc8d2b1aefe958871276c0edaa9c63a26c9578e 100644 --- a/tests/fixtures/snippet_default.html +++ b/tests/fixtures/snippet_default.html @@ -1,9 +1,8 @@ -
4
+
4
 5
 6
-7
# Test source
+7
# Test source
 def test_func(arg):
     print arg
     return arg + 5
-
-
\ No newline at end of file +
\ No newline at end of file diff --git a/tests/fixtures/snippet_invalid_violations.html b/tests/fixtures/snippet_invalid_violations.html index 49519064870083e397a07ddafa377de01f2964da..36aec43a2acb210ef04836a6b9239adf63e14fda 100644 --- a/tests/fixtures/snippet_invalid_violations.html +++ b/tests/fixtures/snippet_invalid_violations.html @@ -1,9 +1,8 @@ -
1
+
1
 2
 3
-4
# Test source
+4
# Test source
 def test_func(arg):
     print arg
     return arg + 5
-
-
\ No newline at end of file +
\ No newline at end of file diff --git a/tests/fixtures/snippet_list.html b/tests/fixtures/snippet_list.html index 8f49bfd26488265496d78c596aac5440967b4885..4a974a5357d462c53f96f7b8f8a71e99132e40c0 100644 --- a/tests/fixtures/snippet_list.html +++ b/tests/fixtures/snippet_list.html @@ -1,4 +1,4 @@ -
 6
+
 6
  7
  8
  9
@@ -9,7 +9,7 @@
 14
 15
 16
-17
Line 6
+17
Line 6
 Line 7
 Line 8
 Line 9
@@ -21,10 +21,10 @@
 Line 15
 Line 16
 Line 17
-
-
+
-
46
+
+
46
 47
 48
 49
@@ -39,7 +39,7 @@
 58
 59
 60
-61
Line 46
+61
Line 46
 Line 47
 Line 48
 Line 49
@@ -55,5 +55,4 @@
 Line 59
 Line 60
 Line 61
-
-
\ No newline at end of file +
\ No newline at end of file diff --git a/tests/fixtures/snippet_no_filename_ext.html b/tests/fixtures/snippet_no_filename_ext.html index e40c017d71c5ee1a34890a904bfd016025b2ebed..af858cbf787ce12214daf414bf5f4b8ab0f8e129 100644 --- a/tests/fixtures/snippet_no_filename_ext.html +++ b/tests/fixtures/snippet_no_filename_ext.html @@ -1,9 +1,8 @@ -
4
+
4
 5
 6
-7
# Test source
+7
# Test source
 def test_func(arg):
     print arg
     return arg + 5
-
-
\ No newline at end of file +
\ No newline at end of file diff --git a/tests/fixtures/snippet_unicode.html b/tests/fixtures/snippet_unicode.html index d7cd440c6819fc09bdac1a8fe790bbde10a180a9..835093bb81d63e06aa9b1a42cc259ab9fa2a6a58 100644 --- a/tests/fixtures/snippet_unicode.html +++ b/tests/fixtures/snippet_unicode.html @@ -1,3 +1,2 @@ -
1
var = ģ 塲 ㎉
-
-
\ No newline at end of file +
1
var = ģ 塲 ㎉
+
\ No newline at end of file diff --git a/tests/fixtures/snippet_unicode_html_output.html b/tests/fixtures/snippet_unicode_html_output.html index db4dd7963f4169451439040b6ecd7ef88da457c3..bb6aa536328929fe9bf3df0b56ec34c07b43e6bd 100644 --- a/tests/fixtures/snippet_unicode_html_output.html +++ b/tests/fixtures/snippet_unicode_html_output.html @@ -1,4 +1,4 @@ -
 6
+
 6
  7
  8
  9
@@ -9,7 +9,7 @@
 14
 15
 16
-17
Line 6
+17
Line 6
 Line 7
 Line 8
 Line 9
@@ -21,10 +21,10 @@
 Line 15
 Line 16
 Line 17
-
-
+
-
46
+
+
46
 47
 48
 49
@@ -39,7 +39,7 @@
 58
 59
 60
-61
Line 46
+61
Line 46
 Line 47
 Line 48
 Line 49
@@ -55,5 +55,4 @@
 Line 59
 Line 60
 Line 61
-
-
\ No newline at end of file +
\ No newline at end of file