Skip to content

Commit 91bbe8e

Browse files
committed
update snap test
1 parent 729bbcb commit 91bbe8e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gt_extras/tests/__snapshots__/test_images.ambr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
'''
1717
<tbody class="gt_table_body">
1818
<tr>
19-
<td class="gt_row gt_left"><span style="white-space:nowrap;"><img src="/Users/jules-wg/Repos/gt-extras-posit-dev/avatar1.png" style="height: 2em;border-radius: 50%;border-width: 2px;border-color: #0A0A0A;border-style: solid;vertical-align: middle;"></span></td>
19+
<td class="gt_row gt_left"><span style="white-space:nowrap;"><img src="https://www.avatar1.png" style="height: 2em;border-radius: 50%;border-width: 2px;border-color: #0A0A0A;border-style: solid;vertical-align: middle;"></span></td>
2020
</tr>
2121
<tr>
22-
<td class="gt_row gt_left"><span style="white-space:nowrap;"><img src="/Users/jules-wg/Repos/gt-extras-posit-dev/avatar2.png" style="height: 2em;border-radius: 50%;border-width: 2px;border-color: #0A0A0A;border-style: solid;vertical-align: middle;"></span></td>
22+
<td class="gt_row gt_left"><span style="white-space:nowrap;"><img src="https://www.avatar2.png" style="height: 2em;border-radius: 50%;border-width: 2px;border-color: #0A0A0A;border-style: solid;vertical-align: middle;"></span></td>
2323
</tr>
2424
</tbody>
2525
'''

gt_extras/tests/test_images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def test_add_text_img_empty_url():
183183

184184

185185
def test_gt_fmt_img_circle_snapshot(snapshot):
186-
df = pd.DataFrame({"img": ["avatar1.png", "avatar2.png"]})
186+
df = pd.DataFrame({"img": ["https://www.avatar1.png", "https://www.avatar2.png"]})
187187
gt_test = GT(df)
188188

189189
res = gt_fmt_img_circle(gt_test, columns="img", encode=False, border_width="2px")

0 commit comments

Comments
 (0)