Show More
@@ -608,7 +608,7 b' class TestPullrequestsView(object):' | |||
|
608 | 608 | pull_request.source_repo, pull_request=pull_request) |
|
609 | 609 | assert status == ChangesetStatus.STATUS_REJECTED |
|
610 | 610 | |
|
611 |
comment_id |
|
|
611 | for comment_id in response.json.keys(): | |
|
612 | 612 | test_text = 'test' |
|
613 | 613 | response = self.app.post( |
|
614 | 614 | route_path( |
@@ -644,7 +644,7 b' class TestPullrequestsView(object):' | |||
|
644 | 644 | ) |
|
645 | 645 | assert response.json |
|
646 | 646 | |
|
647 |
comment_id |
|
|
647 | for comment_id in response.json.keys(): | |
|
648 | 648 | assert comment_id |
|
649 | 649 | test_text = 'test' |
|
650 | 650 | self.app.post( |
@@ -684,8 +684,7 b' class TestPullrequestsView(object):' | |||
|
684 | 684 | ) |
|
685 | 685 | assert response.json |
|
686 | 686 | |
|
687 |
comment_id |
|
|
688 | assert comment_id | |
|
687 | for comment_id in response.json.keys(): | |
|
689 | 688 | test_text = 'init' |
|
690 | 689 | response = self.app.post( |
|
691 | 690 | route_path( |
@@ -722,9 +721,7 b' class TestPullrequestsView(object):' | |||
|
722 | 721 | extra_environ=xhr_header, |
|
723 | 722 | ) |
|
724 | 723 | assert response.json |
|
725 |
comment_id |
|
|
726 | assert comment_id | |
|
727 | ||
|
724 | for comment_id in response.json.keys(): | |
|
728 | 725 | test_text = 'test' |
|
729 | 726 | self.app.post( |
|
730 | 727 | route_path( |
General Comments 0
You need to be logged in to leave comments.
Login now