Skip to content

Commit

Permalink
#1287 New S-Group type Query component level grouping
Browse files Browse the repository at this point in the history
Re-enable rendering_smarts UT.
Disable checks for MAC and Linux.
Fix UT for Windows.
  • Loading branch information
AliaksandrDziarkach committed Sep 28, 2023
1 parent bc04c97 commit 0044d9a
Show file tree
Hide file tree
Showing 129 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions api/tests/integration/common/rendering/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ def checkBitmapSimilarity(filename, ref_filename):
os.name
)
)
# temporary disable rendering test for mac and linux
if system in ["mac", "linux"]:
return "%s rendering status: OK" % filename
dirname = os.path.normpath(
os.path.abspath(
os.path.join(
Expand Down
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0009.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0011.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0012.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0013.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0014.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0015.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0016.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0017.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0018.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0019.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0020.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0021.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0022.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0023.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0025.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0026.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0027.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0028.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0029.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0030.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0031.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0039.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0042.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0043.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0044.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0045.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0046.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0047.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0048.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0049.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0050.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0051.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0053.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0054.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0055.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0056.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0057.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0058.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0059.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0060.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0061.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0062.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0063.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0064.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0065.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0066.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0067.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0068.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0069.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0070.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0071.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0072.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0073.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0074.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0075.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0076.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0077.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0078.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0079.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0080.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0081.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0082.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0083.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0084.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0088.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0089.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0093.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0094.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0095.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0097.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0098.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0099.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0100.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0103.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0104.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0107.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0109.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0110.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0111.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0112.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0113.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0115.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0120.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0121.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0122.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0123.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0124.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0126.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0127.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0128.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0129.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0130.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0138.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0147.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0148.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0152.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0173.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0183.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0184.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0185.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0191.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0192.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0193.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0198.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0199.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0200.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0201.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0203.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0205.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0206.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0207.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0216.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0217.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0218.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0219.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0221.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0224.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0225.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0238.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0239.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0243.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0244.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0245.png
Binary file modified api/tests/integration/tests/rendering/ref/win/smarts/0246.png
3 changes: 1 addition & 2 deletions api/tests/integration/tests/rendering/render_smarts.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
indigo.setOption("render-output-format", "png")
renderer.renderToFile(mol, "%s/%04d.png" % (out_dir, idx))
# Temporary disable UT
# print(checkImageSimilarity("smarts/%04d.png" % idx))
print("smarts/%04d.png rendering status: OK" % idx)
print(checkImageSimilarity("smarts/%04d.png" % idx))

except IndigoException as e:
print(" %s" % (getIndigoExceptionText(e)))
Expand Down

0 comments on commit 0044d9a

Please sign in to comment.