@@ -498,9 +498,7 @@ def test_image_list_no_options(self):
498498
499499 # DisplayCommandBase.take_action() returns two tuples
500500 columns , data = self .cmd .take_action (parsed_args )
501- self .api_mock .image_list .assert_called_with (
502- marker = image_fakes .image_id ,
503- )
501+ self .api_mock .image_list .assert_called_with ()
504502
505503 self .assertEqual (self .columns , columns )
506504 self .assertEqual (self .datalist , tuple (data ))
@@ -521,7 +519,6 @@ def test_image_list_public_option(self):
521519 columns , data = self .cmd .take_action (parsed_args )
522520 self .api_mock .image_list .assert_called_with (
523521 public = True ,
524- marker = image_fakes .image_id ,
525522 )
526523
527524 self .assertEqual (self .columns , columns )
@@ -543,7 +540,6 @@ def test_image_list_private_option(self):
543540 columns , data = self .cmd .take_action (parsed_args )
544541 self .api_mock .image_list .assert_called_with (
545542 private = True ,
546- marker = image_fakes .image_id ,
547543 )
548544
549545 self .assertEqual (self .columns , columns )
@@ -565,7 +561,6 @@ def test_image_list_shared_option(self):
565561 columns , data = self .cmd .take_action (parsed_args )
566562 self .api_mock .image_list .assert_called_with (
567563 shared = True ,
568- marker = image_fakes .image_id ,
569564 )
570565
571566 self .assertEqual (self .columns , columns )
@@ -582,9 +577,7 @@ def test_image_list_long_option(self):
582577
583578 # DisplayCommandBase.take_action() returns two tuples
584579 columns , data = self .cmd .take_action (parsed_args )
585- self .api_mock .image_list .assert_called_with (
586- marker = image_fakes .image_id ,
587- )
580+ self .api_mock .image_list .assert_called_with ()
588581
589582 collist = (
590583 'ID' ,
@@ -630,9 +623,7 @@ def test_image_list_property_option(self, sf_mock):
630623
631624 # DisplayCommandBase.take_action() returns two tuples
632625 columns , data = self .cmd .take_action (parsed_args )
633- self .api_mock .image_list .assert_called_with (
634- marker = image_fakes .image_id ,
635- )
626+ self .api_mock .image_list .assert_called_with ()
636627 sf_mock .assert_called_with (
637628 [image_fakes .IMAGE ],
638629 attr = 'a' ,
@@ -655,9 +646,7 @@ def test_image_list_sort_option(self, si_mock):
655646
656647 # DisplayCommandBase.take_action() returns two tuples
657648 columns , data = self .cmd .take_action (parsed_args )
658- self .api_mock .image_list .assert_called_with (
659- marker = image_fakes .image_id ,
660- )
649+ self .api_mock .image_list .assert_called_with ()
661650 si_mock .assert_called_with (
662651 [image_fakes .IMAGE ],
663652 'name:asc'
0 commit comments