Commit b617c3af authored by Ivan Tyagov's avatar Ivan Tyagov

Coding style changes for the unit tests

See merge request nexedi/wendelin!158
parents 85b18536 60ef2df2
......@@ -560,7 +560,7 @@ prepareData()\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1012.46657.35863.5717</string> </value>
<value> <string>1013.42930.28344.22254</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -580,7 +580,7 @@ prepareData()\n
</tuple>
<state>
<tuple>
<float>1700840040.49</float>
<float>1704461947.15</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -28,7 +28,6 @@ import msgpack
import random
import string
import pandas as pd
import numpy as np
import math
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
......@@ -42,17 +41,17 @@ class Test(ERP5TypeTestCase):
This is ran before anything, used to set the environment
"""
# here, you can create the categories and objects your test will depend on
self.bucket_data = ["timestamp (ms);latitude (°);longitude (°);AMSL (m);rel altitude (m);yaw (°);ground speed (m/s);climb rate (m/s)\n 16.666666666666668;45.6403;14.264800000000008;660.46;65.668;0;16.666666666666668;0\n 33.333333333333336;45.64030377777778;14.264800000000008;660.46;65.668;3.5083546492674384e-15;16.666666666666668;0\n 50;45.64030720137322;14.264799927891772;660.5773939615947;65.78539396159465;-0.669850845047716;15.10512978394417;7.043637695678324\n 66.66666666666667;45.640310624266725;14.264799783685163;660.6947879231893;65.9027879231893;-1.3397016900954353;15.10512978394417;7.043637695678324\n 83.33333333333334;45.64031404599047;14.264799567399876;660.812181884784;66.02018188478394;-2.0095525351431416;15.105129783944166;7.043637695678324\n 100.00000000000001;45.640317466076766;14.264799279065471;660.9295758463786;66.13757584637858;-2.6794033801908608;15.105129783944168;7.043637695678324\n 116.66666666666669;45.640320884058156;14.264798918721397;661.0469698079733;66.25496980797323;-3.3492542252385813;15.105129783944165;7.043637695678322\n 133.33333333333334;45.64032429946747;14.264798486416822;661.1643637695679;66.37236376956787;-4.019105070286313;15.105129783944168;7.043637695678324\n 150;45.640327711837884;14.26479798221095;661.2817577311625;66.48975773116251;-4.688955915334046;15.105129783944168;7.043637695678324",
{"message":"timestamp (ms);latitude (°);longitude (°);AMSL (m);rel altitude (m);yaw (°);ground speed (m/s);climb rate (m/s)\n 16.666666666666668;45.6403;14.264800000000008;660.46;65.668;0;16.666666666666668;0\n 33.333333333333336;45.64030377777778;14.264800000000008;660.46;65.668;3.5083546492674384e-15;16.666666666666668;0\n 50;45.64030720137322;14.264799927891772;660.5773939615947;65.78539396159465;-0.669850845047716;15.10512978394417;7.043637695678324\n 66.66666666666667;45.640310624266725;14.264799783685163;660.6947879231893;65.9027879231893;-1.3397016900954353;15.10512978394417;7.043637695678324\n 83.33333333333334;45.64031404599047;14.264799567399876;660.812181884784;66.02018188478394;-2.0095525351431416;15.105129783944166;7.043637695678324\n 100.00000000000001;45.640317466076766;14.264799279065471;660.9295758463786;66.13757584637858;-2.6794033801908608;15.105129783944168;7.043637695678324\n 116.66666666666669;45.640320884058156;14.264798918721397;661.0469698079733;66.25496980797323;-3.3492542252385813;15.105129783944165;7.043637695678322\n 133.33333333333334;45.64032429946747;14.264798486416822;661.1643637695679;66.37236376956787;-4.019105070286313;15.105129783944168;7.043637695678324\n 150;45.640327711837884;14.26479798221095;661.2817577311625;66.48975773116251;-4.688955915334046;15.105129783944168;7.043637695678324"
},{"message":"timestamp (ms);latitude (°);longitude (°);AMSL (m);rel altitude (m);yaw (°);ground speed (m/s);climb rate (m/s)\n 16.666666666666668;45.6403;14.264800000000008;660.46;65.668;0;16.666666666666668;0\n 33.333333333333336;45.64030377777778;14.264800000000008;660.46;65.668;3.5083546492674384e-15;16.666666666666668;0\n 50;45.64030720137322;14.264799927891772;660.5773939615947;65.78539396159465;-0.669850845047716;15.10512978394417;7.043637695678324\n 66.66666666666667;45.640310624266725;14.264799783685163;660.6947879231893;65.9027879231893;-1.3397016900954353;15.10512978394417;7.043637695678324\n 83.33333333333334;45.64031404599047;14.264799567399876;660.812181884784;66.02018188478394;-2.0095525351431416;15.105129783944166;7.043637695678324\n 100.00000000000001;45.640317466076766;14.264799279065471;660.9295758463786;66.13757584637858;-2.6794033801908608;15.105129783944168;7.043637695678324\n 116.66666666666669;45.640320884058156;14.264798918721397;661.0469698079733;66.25496980797323;-3.3492542252385813;15.105129783944165;7.043637695678322\n 133.33333333333334;45.64032429946747;14.264798486416822;661.1643637695679;66.37236376956787;-4.019105070286313;15.105129783944168;7.043637695678324\n 150;45.640327711837884;14.26479798221095;661.2817577311625;66.48975773116251;-4.688955915334046;15.105129783944168;7.043637695678324", "filepath":"Test"
},{"message":"timestamp (ms);latitude (°);longitude (°);AMSL (m);rel altitude (m);yaw (°);ground speed (m/s);climb rate (m/s)\n 16.666666666666668;45.6403;14.264800000000008;660.46;65.668;0;16.666666666666668;0\n 33.333333333333336;45.64030377777778;14.264800000000008;660.46;65.668;3.5083546492674384e-15;16.666666666666668;0\n 50;45.64030720137322;14.264799927891772;660.5773939615947;65.78539396159465;-0.669850845047716;15.10512978394417;7.043637695678324\n 66.66666666666667;45.640310624266725;14.264799783685163;660.6947879231893;65.9027879231893;-1.3397016900954353;15.10512978394417;7.043637695678324\n 83.33333333333334;45.64031404599047;14.264799567399876;660.812181884784;66.02018188478394;-2.0095525351431416;15.105129783944166;7.043637695678324\n 100.00000000000001;45.640317466076766;14.264799279065471;660.9295758463786;66.13757584637858;-2.6794033801908608;15.105129783944168;7.043637695678324\n 116.66666666666669;45.640320884058156;14.264798918721397;661.0469698079733;66.25496980797323;-3.3492542252385813;15.105129783944165;7.043637695678322\n 133.33333333333334;45.64032429946747;14.264798486416822;661.1643637695679;66.37236376956787;-4.019105070286313;15.105129783944168;7.043637695678324\n 150;45.640327711837884;14.26479798221095;661.2817577311625;66.48975773116251;-4.688955915334046;15.105129783944168;7.043637695678324", "filepath":""
},{"message":"timestamp (ms);latitude (°);longitude (°);AMSL (m);rel altitude (m);yaw (°);ground speed (m/s);climb rate (m/s)\n 16.666666666666668;45.6403;14.264800000000008;660.46;65.668;0;16.666666666666668;0\n 33.333333333333336;45.64030377777778;14.264800000000008;660.46;65.668;3.5083546492674384e-15;16.666666666666668;0\n 50;45.64030720137322;14.264799927891772;660.5773939615947;65.78539396159465;-0.669850845047716;15.10512978394417;7.043637695678324\n 66.66666666666667;45.640310624266725;14.264799783685163;660.6947879231893;65.9027879231893;-1.3397016900954353;15.10512978394417;7.043637695678324\n 83.33333333333334;45.64031404599047;14.264799567399876;660.812181884784;66.02018188478394;-2.0095525351431416;15.105129783944166;7.043637695678324\n 100.00000000000001;45.640317466076766;14.264799279065471;660.9295758463786;66.13757584637858;-2.6794033801908608;15.105129783944168;7.043637695678324\n 116.66666666666669;45.640320884058156;14.264798918721397;661.0469698079733;66.25496980797323;-3.3492542252385813;15.105129783944165;7.043637695678322\n 133.33333333333334;45.64032429946747;14.264798486416822;661.1643637695679;66.37236376956787;-4.019105070286313;15.105129783944168;7.043637695678324\n 150;45.640327711837884;14.26479798221095;661.2817577311625;66.48975773116251;-4.688955915334046;15.105129783944168;7.043637695678324", "Not a real key":""
self.bucket_data = ["timestamp (ms);latitude ();longitude ();AMSL (m);rel altitude (m);yaw ();ground speed (m/s);climb rate (m/s)\n 16.666666666666668;45.6403;14.264800000000008;660.46;65.668;0;16.666666666666668;0\n 33.333333333333336;45.64030377777778;14.264800000000008;660.46;65.668;3.5083546492674384e-15;16.666666666666668;0\n 50;45.64030720137322;14.264799927891772;660.5773939615947;65.78539396159465;-0.669850845047716;15.10512978394417;7.043637695678324\n 66.66666666666667;45.640310624266725;14.264799783685163;660.6947879231893;65.9027879231893;-1.3397016900954353;15.10512978394417;7.043637695678324\n 83.33333333333334;45.64031404599047;14.264799567399876;660.812181884784;66.02018188478394;-2.0095525351431416;15.105129783944166;7.043637695678324\n 100.00000000000001;45.640317466076766;14.264799279065471;660.9295758463786;66.13757584637858;-2.6794033801908608;15.105129783944168;7.043637695678324\n 116.66666666666669;45.640320884058156;14.264798918721397;661.0469698079733;66.25496980797323;-3.3492542252385813;15.105129783944165;7.043637695678322\n 133.33333333333334;45.64032429946747;14.264798486416822;661.1643637695679;66.37236376956787;-4.019105070286313;15.105129783944168;7.043637695678324\n 150;45.640327711837884;14.26479798221095;661.2817577311625;66.48975773116251;-4.688955915334046;15.105129783944168;7.043637695678324",
{"message":"timestamp (ms);latitude ();longitude ();AMSL (m);rel altitude (m);yaw ();ground speed (m/s);climb rate (m/s)\n 16.666666666666668;45.6403;14.264800000000008;660.46;65.668;0;16.666666666666668;0\n 33.333333333333336;45.64030377777778;14.264800000000008;660.46;65.668;3.5083546492674384e-15;16.666666666666668;0\n 50;45.64030720137322;14.264799927891772;660.5773939615947;65.78539396159465;-0.669850845047716;15.10512978394417;7.043637695678324\n 66.66666666666667;45.640310624266725;14.264799783685163;660.6947879231893;65.9027879231893;-1.3397016900954353;15.10512978394417;7.043637695678324\n 83.33333333333334;45.64031404599047;14.264799567399876;660.812181884784;66.02018188478394;-2.0095525351431416;15.105129783944166;7.043637695678324\n 100.00000000000001;45.640317466076766;14.264799279065471;660.9295758463786;66.13757584637858;-2.6794033801908608;15.105129783944168;7.043637695678324\n 116.66666666666669;45.640320884058156;14.264798918721397;661.0469698079733;66.25496980797323;-3.3492542252385813;15.105129783944165;7.043637695678322\n 133.33333333333334;45.64032429946747;14.264798486416822;661.1643637695679;66.37236376956787;-4.019105070286313;15.105129783944168;7.043637695678324\n 150;45.640327711837884;14.26479798221095;661.2817577311625;66.48975773116251;-4.688955915334046;15.105129783944168;7.043637695678324"
},{"message":"timestamp (ms);latitude ();longitude ();AMSL (m);rel altitude (m);yaw ();ground speed (m/s);climb rate (m/s)\n 16.666666666666668;45.6403;14.264800000000008;660.46;65.668;0;16.666666666666668;0\n 33.333333333333336;45.64030377777778;14.264800000000008;660.46;65.668;3.5083546492674384e-15;16.666666666666668;0\n 50;45.64030720137322;14.264799927891772;660.5773939615947;65.78539396159465;-0.669850845047716;15.10512978394417;7.043637695678324\n 66.66666666666667;45.640310624266725;14.264799783685163;660.6947879231893;65.9027879231893;-1.3397016900954353;15.10512978394417;7.043637695678324\n 83.33333333333334;45.64031404599047;14.264799567399876;660.812181884784;66.02018188478394;-2.0095525351431416;15.105129783944166;7.043637695678324\n 100.00000000000001;45.640317466076766;14.264799279065471;660.9295758463786;66.13757584637858;-2.6794033801908608;15.105129783944168;7.043637695678324\n 116.66666666666669;45.640320884058156;14.264798918721397;661.0469698079733;66.25496980797323;-3.3492542252385813;15.105129783944165;7.043637695678322\n 133.33333333333334;45.64032429946747;14.264798486416822;661.1643637695679;66.37236376956787;-4.019105070286313;15.105129783944168;7.043637695678324\n 150;45.640327711837884;14.26479798221095;661.2817577311625;66.48975773116251;-4.688955915334046;15.105129783944168;7.043637695678324", "filepath":"Test"
},{"message":"timestamp (ms);latitude ();longitude ();AMSL (m);rel altitude (m);yaw ();ground speed (m/s);climb rate (m/s)\n 16.666666666666668;45.6403;14.264800000000008;660.46;65.668;0;16.666666666666668;0\n 33.333333333333336;45.64030377777778;14.264800000000008;660.46;65.668;3.5083546492674384e-15;16.666666666666668;0\n 50;45.64030720137322;14.264799927891772;660.5773939615947;65.78539396159465;-0.669850845047716;15.10512978394417;7.043637695678324\n 66.66666666666667;45.640310624266725;14.264799783685163;660.6947879231893;65.9027879231893;-1.3397016900954353;15.10512978394417;7.043637695678324\n 83.33333333333334;45.64031404599047;14.264799567399876;660.812181884784;66.02018188478394;-2.0095525351431416;15.105129783944166;7.043637695678324\n 100.00000000000001;45.640317466076766;14.264799279065471;660.9295758463786;66.13757584637858;-2.6794033801908608;15.105129783944168;7.043637695678324\n 116.66666666666669;45.640320884058156;14.264798918721397;661.0469698079733;66.25496980797323;-3.3492542252385813;15.105129783944165;7.043637695678322\n 133.33333333333334;45.64032429946747;14.264798486416822;661.1643637695679;66.37236376956787;-4.019105070286313;15.105129783944168;7.043637695678324\n 150;45.640327711837884;14.26479798221095;661.2817577311625;66.48975773116251;-4.688955915334046;15.105129783944168;7.043637695678324", "filepath":""
},{"message":"timestamp (ms);latitude ();longitude ();AMSL (m);rel altitude (m);yaw ();ground speed (m/s);climb rate (m/s)\n 16.666666666666668;45.6403;14.264800000000008;660.46;65.668;0;16.666666666666668;0\n 33.333333333333336;45.64030377777778;14.264800000000008;660.46;65.668;3.5083546492674384e-15;16.666666666666668;0\n 50;45.64030720137322;14.264799927891772;660.5773939615947;65.78539396159465;-0.669850845047716;15.10512978394417;7.043637695678324\n 66.66666666666667;45.640310624266725;14.264799783685163;660.6947879231893;65.9027879231893;-1.3397016900954353;15.10512978394417;7.043637695678324\n 83.33333333333334;45.64031404599047;14.264799567399876;660.812181884784;66.02018188478394;-2.0095525351431416;15.105129783944166;7.043637695678324\n 100.00000000000001;45.640317466076766;14.264799279065471;660.9295758463786;66.13757584637858;-2.6794033801908608;15.105129783944168;7.043637695678324\n 116.66666666666669;45.640320884058156;14.264798918721397;661.0469698079733;66.25496980797323;-3.3492542252385813;15.105129783944165;7.043637695678322\n 133.33333333333334;45.64032429946747;14.264798486416822;661.1643637695679;66.37236376956787;-4.019105070286313;15.105129783944168;7.043637695678324\n 150;45.640327711837884;14.26479798221095;661.2817577311625;66.48975773116251;-4.688955915334046;15.105129783944168;7.043637695678324", "Not a real key":""
},
{"message":"timestamp (ms);latitude (°);longitude (°);AMSL (m);rel altitude (m);yaw (°);ground speed (m/s);climb rate (m/s)\n 16.666666666666668;45.6403;14.264800000000008;660.46;65.668;0;16.666666666666668;0\n 33.333333333333336;45.64030377777778;14.264800000000008;660.46;65.668;3.5083546492674384e-15;16.666666666666668;0\n 50;45.64030720137322;14.264799927891772;660.5773939615947;65.78539396159465;-0.669850845047716;15.10512978394417;7.043637695678324\n 66.66666666666667;45.640310624266725;14.264799783685163;660.6947879231893;65.9027879231893;-1.3397016900954353;15.10512978394417;7.043637695678324\n 83.33333333333334;45.64031404599047;14.264799567399876;660.812181884784;66.02018188478394;-2.0095525351431416;15.105129783944166;7.043637695678324\n 100.00000000000001;45.640317466076766;14.264799279065471;660.9295758463786;66.13757584637858;-2.6794033801908608;15.105129783944168;7.043637695678324\n 116.66666666666669;45.640320884058156;14.264798918721397;661.0469698079733;66.25496980797323;-3.3492542252385813;15.105129783944165;7.043637695678322\n 133.33333333333334;45.64032429946747;14.264798486416822;661.1643637695679;66.37236376956787;-4.019105070286313;15.105129783944168;7.043637695678324\n 150;45.640327711837884;14.26479798221095;661.2817577311625;66.48975773116251;-4.688955915334046;15.105129783944168;7.043637695678324", "filepath":"simulation_log_D0_(14.0, 10.0).log"}]
portal = self.getPortalObject()
{"message":"timestamp (ms);latitude ();longitude ();AMSL (m);rel altitude (m);yaw ();ground speed (m/s);climb rate (m/s)\n 16.666666666666668;45.6403;14.264800000000008;660.46;65.668;0;16.666666666666668;0\n 33.333333333333336;45.64030377777778;14.264800000000008;660.46;65.668;3.5083546492674384e-15;16.666666666666668;0\n 50;45.64030720137322;14.264799927891772;660.5773939615947;65.78539396159465;-0.669850845047716;15.10512978394417;7.043637695678324\n 66.66666666666667;45.640310624266725;14.264799783685163;660.6947879231893;65.9027879231893;-1.3397016900954353;15.10512978394417;7.043637695678324\n 83.33333333333334;45.64031404599047;14.264799567399876;660.812181884784;66.02018188478394;-2.0095525351431416;15.105129783944166;7.043637695678324\n 100.00000000000001;45.640317466076766;14.264799279065471;660.9295758463786;66.13757584637858;-2.6794033801908608;15.105129783944168;7.043637695678324\n 116.66666666666669;45.640320884058156;14.264798918721397;661.0469698079733;66.25496980797323;-3.3492542252385813;15.105129783944165;7.043637695678322\n 133.33333333333334;45.64032429946747;14.264798486416822;661.1643637695679;66.37236376956787;-4.019105070286313;15.105129783944168;7.043637695678324\n 150;45.640327711837884;14.26479798221095;661.2817577311625;66.48975773116251;-4.688955915334046;15.105129783944168;7.043637695678324", "filepath":"simulation_log_D0_(14.0, 10.0).log"}]
self.portal = self.getPortalObject()
self.column_names = ["timestamp (ms)","latitude (°)","longitude (°)","AMSL (m)","rel altitude (m)","yaw (°)","ground speed (m/s)","climb rate (m/s)"]
self.wrong_column_names = ["timestamp (ms)","latit(°)",","AL (m)","rel alie (m)","ya ()","ground speed ()"]
self.column_names = ["timestamp (ms)","latitude ()","longitude ()","AMSL (m)","rel altitude (m)","yaw ()","ground speed (m/s)","climb rate (m/s)"]
self.wrong_column_names = ["timestamp (ms)","latit()","","AL (m)","rel alie (m)","ya ()","ground speed ()"]
def create_random_name(self):
return "simulation_log_D0_"+str((random.uniform(5,20), random.uniform(5,20)))+".log"
......@@ -81,7 +80,6 @@ class Test(ERP5TypeTestCase):
def create_random_wrong_dataframe(self, column_names):
l = []
nr_lines = random.randint(10,100) # We have files with somewhere like 18k lines. But we could also reduce them here, just to save space
timestamp = sorted([random.uniform(1,100) for _ in range(nr_lines)]) #We only go up to 100, because otherwise it is possible that the smallest timestamp in the mock simulation is larger than the largest timestamp in the mock real data.
x = [[self.randomword(5) if name !="timestamp (ms)" else self.randomword(5) for name in column_names] for _ in range(nr_lines)]
x.insert(0, column_names)
for line in x:
......@@ -107,7 +105,6 @@ class Test(ERP5TypeTestCase):
"""
Ingest some data
"""
document_to_delete_list = []
data_ingestion = self.portal.portal_catalog.getResultValue(
portal_type = "Data Array")
......@@ -254,7 +251,7 @@ class Test(ERP5TypeTestCase):
if bin_chunk["filepath"] != "Wrong Filepath Name but correct data":
try:
_ = destination_data_stream_bucket.getBucketByKey(bin_chunk["filepath"])
except:
except KeyError:
continue
self.assertNotEquals(destination_data_stream_bucket.getBucketByKey(bin_chunk["filepath"]), None)
self.assertIn(bin_chunk["message"], destination_data_stream_bucket.getBucketByKey(bin_chunk["filepath"]))
......@@ -362,17 +359,11 @@ class Test(ERP5TypeTestCase):
specialise_uid = data_transformation_sim_flight.getUid(),
simulation_state = 'started')
zarray_sim_flight = None
for data_analysis_line in data_analysis_sim_flight.objectValues():
reference = data_analysis_line.getReference()
if reference == 'out_array':
data_array_sim_flight = data_analysis_line.getAggregateValueList(portal_type = 'Data Array')[0]
zarray_sim_flight = data_array_sim_flight
data_array_line_names_sim_flight_list = list(zarray_sim_flight)
test_sim_data = zarray_sim_flight.get("simulation_log_D0_(14.0, 10.0).log").getArray()
test_sim_dataframe = pd.DataFrame(data=test_sim_data, columns=["timestamp (ms)","latitude ()","longitude ()","AMSL (m)","rel altitude (m)","yaw ()","ground speed (m/s)","climb rate (m/s)"])
# Sim flights after score
......@@ -393,7 +384,6 @@ class Test(ERP5TypeTestCase):
if reference == 'out_array_scores':
data_array_sim_flight_score = data_analysis_line.getAggregateValueList(portal_type = 'Data Array')[0]
zarray_sim_flight_score = data_array_sim_flight_score
data_array_line_names_sim_flight_score_list = list(zarray_sim_flight_score)
test_sim_score_data = zarray_sim_flight_score.getArray()
......@@ -440,7 +430,6 @@ class Test(ERP5TypeTestCase):
if reference == 'out_array_scores':
data_array = data_analysis_line.getAggregateValueList(portal_type = 'Data Array')[0]
zarray = data_array
data_array_line_names_sim_flight_score_list = list(zarray)
self.assertNotEqual(zarray.getArray(), None)
recalculated_scores = pd.DataFrame.from_records(zarray.getArray()[:].copy())
......
......@@ -35,25 +35,7 @@
<item>
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple>
<string>W: 45, 0: Cannot decode using encoding "ascii", unexpected byte at position 50 (invalid-encoded-data)</string>
<string>W: 46, 0: Cannot decode using encoding "ascii", unexpected byte at position 61 (invalid-encoded-data)</string>
<string>W: 47, 0: Cannot decode using encoding "ascii", unexpected byte at position 55 (invalid-encoded-data)</string>
<string>W: 48, 0: Cannot decode using encoding "ascii", unexpected byte at position 55 (invalid-encoded-data)</string>
<string>W: 49, 0: Cannot decode using encoding "ascii", unexpected byte at position 55 (invalid-encoded-data)</string>
<string>W: 51, 0: Cannot decode using encoding "ascii", unexpected byte at position 55 (invalid-encoded-data)</string>
<string>W: 54, 0: Cannot decode using encoding "ascii", unexpected byte at position 53 (invalid-encoded-data)</string>
<string>W: 55, 0: Cannot decode using encoding "ascii", unexpected byte at position 55 (invalid-encoded-data)</string>
<string>W: 52, 4: Unused variable \'portal\' (unused-variable)</string>
<string>W: 84, 4: Unused variable \'timestamp\' (unused-variable)</string>
<string>W:110, 4: Unused variable \'document_to_delete_list\' (unused-variable)</string>
<string>W:257, 8: No exception type(s) specified (bare-except)</string>
<string>W:375, 4: Unused variable \'test_sim_dataframe\' (unused-variable)</string>
<string>W:372, 8: Unused variable \'data_array_line_names_sim_flight_list\' (unused-variable)</string>
<string>W:396, 8: Unused variable \'data_array_line_names_sim_flight_score_list\' (unused-variable)</string>
<string>W:443, 8: Unused variable \'data_array_line_names_sim_flight_score_list\' (unused-variable)</string>
<string>W: 31, 0: Unused numpy imported as np (unused-import)</string>
</tuple>
<tuple/>
</value>
</item>
<item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment