Skip to content

Commit c6e5406

Browse files
committed
tests: check rsc pin_write updates content level title
1 parent 6602c16 commit c6e5406

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pins/tests/test_boards.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,15 @@ def test_board_pin_search_admin_user(df, board_short, fs_admin): # noqa
329329
assert isinstance(search_res2.loc[0, "meta"], MetaRaw)
330330

331331

332+
@pytest.mark.fs_rsc
333+
def test_board_rsc_pin_write_title_update(df, board_short):
334+
board_short.pin_write(df, "susan/some_df", type="csv", title="title a")
335+
board_short.pin_write(df, "susan/some_df", type="csv", title="title b")
336+
337+
content = board_short.fs.info("susan/some_df")
338+
assert content["title"] == "title b"
339+
340+
332341
@pytest.mark.fs_rsc
333342
def test_board_pin_meta_is_full_name(df, board_short):
334343
meta = board_short.pin_write(df, "susan/some_df", type="csv")

0 commit comments

Comments
 (0)