@@ -177,7 +177,7 @@ def test_create_gists_works(cli_args, requests_mock, mock_gists):
177177 assert isinstance (gists , list )
178178 assert gists [0 ] == Gist (
179179 "7fea2e3837f324e5e3699917f687c862" ,
180- "private " ,
180+ "secret " ,
181181 "Clojure" ,
182182 datetime (2024 , 7 , 12 ).date (),
183183 )
@@ -199,7 +199,7 @@ def test_filter_gists_returns_list(created_gists):
199199def test_filter_gists_works_with_visibility (created_gists ):
200200 """Test that filter_gists() works when the visibility argument is passed."""
201201
202- arguments = ["private " , None , None ]
202+ arguments = ["secret " , None , None ]
203203 gist_ids = filter_gists (arguments , created_gists )
204204 assert "7fea2e3837f324e5e3699917f687c862" in gist_ids
205205 assert "5f6258f9caae6f2c6511e926f7f623af" in gist_ids
@@ -267,7 +267,7 @@ def test_filter_works_with_dates(created_gists):
267267def test_filter_works_with_multiple_arguments (created_gists ):
268268 """Test that filter_gists works when different arguments are passed."""
269269
270- arguments = ["private " , ["Python" ], None ]
270+ arguments = ["secret " , ["Python" ], None ]
271271 gist_ids = filter_gists (arguments , created_gists )
272272 assert len (gist_ids ) == 0
273273
@@ -282,7 +282,7 @@ def test_filter_works_with_multiple_arguments(created_gists):
282282 assert "8eaee095f4b3a822127cc4fa368b4165" in gist_ids
283283 assert len (gist_ids ) == 2
284284
285- arguments = ["private " , None , ["2024-07-12" ]]
285+ arguments = ["secret " , None , ["2024-07-12" ]]
286286 arguments [2 ] = parse_date_arguments (arguments [2 ])
287287 gist_ids = filter_gists (arguments , created_gists )
288288 assert len (gist_ids ) == 2
@@ -292,7 +292,7 @@ def test_filter_works_with_multiple_arguments(created_gists):
292292 gist_ids = filter_gists (arguments , created_gists )
293293 assert len (gist_ids ) == 0
294294
295- arguments = ["private " , ["Rust" , "Clojure" ], ["2024-07-12" ]]
295+ arguments = ["secret " , ["Rust" , "Clojure" ], ["2024-07-12" ]]
296296 arguments [2 ] = parse_date_arguments (arguments [2 ])
297297 gist_ids = filter_gists (arguments , created_gists )
298298 assert len (gist_ids ) == 2
0 commit comments