File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11"""Debug test to understand CI failures."""
22
3- import sys
43import platform
4+ import sys
55
66
77def test_python_version ():
@@ -16,14 +16,14 @@ def test_import_watermark():
1616 try :
1717 from nutrient_dws .api .direct import DirectAPIMixin
1818 print ("\n DirectAPIMixin imported successfully" )
19-
19+
2020 # Check if watermark_pdf has image_file parameter
2121 import inspect
2222 sig = inspect .signature (DirectAPIMixin .watermark_pdf )
2323 params = list (sig .parameters .keys ())
2424 print (f"watermark_pdf parameters: { params } " )
2525 assert "image_file" in params
26-
26+
2727 except Exception as e :
2828 print (f"\n Import failed: { e } " )
2929 import traceback
@@ -34,9 +34,8 @@ def test_import_watermark():
3434def test_basic_watermark_import ():
3535 """Test basic imports work."""
3636 try :
37- from nutrient_dws import NutrientClient
3837 print ("\n NutrientClient imported successfully" )
3938 assert True
4039 except Exception as e :
4140 print (f"\n Basic import failed: { e } " )
42- raise
41+ raise
You can’t perform that action at this time.
0 commit comments