소스 검색

Fixed broken missing dependency scanner test. An asset it was referencing no longer exists, updated to a valid asset. (#12635)

Signed-off-by: AMZN-stankowi <[email protected]>

Signed-off-by: AMZN-stankowi <[email protected]>
AMZN-stankowi 2 년 전
부모
커밋
ce8bfb74f4

+ 2 - 2
AutomatedTesting/Gem/PythonTests/assetpipeline/asset_processor_tests/missing_dependency_tests.py

@@ -496,11 +496,11 @@ class TestsMissingDependencies_WindowsAndMac(object):
         expected_product = f"testassets\\onlymatchescorrectlengthuuids.txt"
         # Expected dependencies with valid lengths from file
         expected_dependencies = [
-            #            String                                           Asset                   #
+            # String                              Asset ID
             ('D92C4661C8985E19BD3597CB2318CFA6', '{D92C4661-C898-5E19-BD35-97CB2318CFA6}:0'),
             ('837412DFD05F576D81AAACF360463749', '{837412DF-D05F-576D-81AA-ACF360463749}:0'),
             ('785A05D2483E5B43A2B992ACDAE6E938', '{785A05D2-483E-5B43-A2B9-92ACDAE6E938}:0'),
-            ('BAB4D64A05BC5E6FB9E3FC9695D1DBB3', '{BAB4D64A-05BC-5E6F-B9E3-FC9695D1DBB3}:0'),
+            ('3F642A0FDC825696A70A1DA5709744DF', '{3F642A0F-DC82-5696-A70A-1DA5709744DF}:0'),
         ]
 
         self.do_missing_dependency_test( expected_product, expected_dependencies,

+ 1 - 1
AutomatedTesting/TestAssets/OnlyMatchesCorrectLengthUUIDs.txt

@@ -6,7 +6,7 @@ a6BDE282B49C957F7B0714B26579BCA9A
 This is the UUID for project . json. It has an extra non-UUID character at the end. It should not show up in scan results.
 B076CDDC14DF50F4A5E97518ABB3E851t
 
-Two UUIDs, the first invalid a1CB10C43F3245B93A294C602ADEF95F9 mixed with a second valid one BAB4D64A05BC5E6FB9E3FC9695D1DBB3 the same line. The second should show up in scan results.
+Two UUIDs, the first invalid a1CB10C43F3245B93A294C602ADEF95F9 mixed with a second valid one 3F642A0FDC825696A70A1DA5709744DF the same line. The second should show up in scan results.
 
 UUID for TestAssets / DependencyScannerAsset . slice, after an equal sign should show up in scan results=837412DFD05F576D81AAACF360463749