From 8204fc84bff24b310e324d3683d4e0efea9bcd94 Mon Sep 17 00:00:00 2001 From: luz paz Date: Thu, 10 Mar 2022 15:09:36 -0500 Subject: [PATCH] AddonManager: fix typos Fixed via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,anormal,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childrens,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,itsel,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oce,oder,ontop,orgin,orginx,orginy,ot,pard,parm,parms,pres,programm,que,rady,recurrance,ro,rougly,seperator,serie,sinc,strack,substraction,te,technic,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./src/Base/StackWalker.cpp,./build/doc/SourceDocu` --- src/Mod/AddonManager/AddonManagerTest/app/test_addon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/AddonManager/AddonManagerTest/app/test_addon.py b/src/Mod/AddonManager/AddonManagerTest/app/test_addon.py index 943cda27b5..66fe71863a 100644 --- a/src/Mod/AddonManager/AddonManagerTest/app/test_addon.py +++ b/src/Mod/AddonManager/AddonManagerTest/app/test_addon.py @@ -215,6 +215,6 @@ class TestAddon(unittest.TestCase): addon.load_metadata_file(os.path.join(self.test_dir, "test_version_detection.xml")) self.assertEqual(len(addon.tags),1, "Wrong number of tags found: version requirements should have restricted to only one") - self.assertFalse("TagA" in addon.tags, "Found 'TagA' in tags, it should have been exluded by version requirement") + self.assertFalse("TagA" in addon.tags, "Found 'TagA' in tags, it should have been excluded by version requirement") self.assertTrue("TagB" in addon.tags, "Failed to find 'TagB' in tags, it should have been included") - self.assertFalse("TagC" in addon.tags, "Found 'TagA' in tags, it should have been exluded by version requirement") + self.assertFalse("TagC" in addon.tags, "Found 'TagA' in tags, it should have been excluded by version requirement")