'Verify that the generated dependency circle does not cause an infinite loop.
Expected structure:
id: 2 key: http://toolshed.local:10001__ESEP__filtering__ESEP__test__ESEP__871602b4276b
[\'http://toolshed.local:10001\', \'emboss_5\', \'test\', \'8de5fe0d7b04\']
id: 3 key: http://toolshed.local:10001__ESEP__emboss_datatypes__ESEP__test__ESEP__dbd4f68bf507
[\'http://toolshed.local:10001\', \'freebayes\', \'test\', \'f40028114098\']
id: 4 key: http://toolshed.local:10001__ESEP__freebayes__ESEP__test__ESEP__f40028114098
[\'http://toolshed.local:10001\', \'emboss_datatypes\', \'test\', \'dbd4f68bf507\']
[\'http://toolshed.local:10001\', \'emboss_5\', \'test\', \'8de5fe0d7b04\']
[\'http://toolshed.local:10001\', \'column_maker\', \'test\', \'83e956bdbac0\']
id: 5 key: http://toolshed.local:10001__ESEP__column_maker__ESEP__test__ESEP__83e956bdbac0
[\'http://toolshed.local:10001\', \'convert_chars\', \'test\', \'b28134220c8a\']
id: 6 key: http://toolshed.local:10001__ESEP__convert_chars__ESEP__test__ESEP__b28134220c8a
[\'http://toolshed.local:10001\', \'column_maker\', \'test\', \'83e956bdbac0\']
id: 7 key: http://toolshed.local:10001__ESEP__emboss_5__ESEP__test__ESEP__8de5fe0d7b04
[\'http://toolshed.local:10001\', \'emboss_datatypes\', \'test\', \'dbd4f68bf507\']'

def test_0045_verify_repository_dependencies(self):

    emboss_datatypes_repository = self.test_db_util.get_repository_by_name_and_owner(emboss_datatypes_repository_name, common.test_user_1_name)
    emboss_repository = self.test_db_util.get_repository_by_name_and_owner(emboss_repository_name, common.test_user_1_name)
    filtering_repository = self.test_db_util.get_repository_by_name_and_owner(filtering_repository_name, common.test_user_1_name)
    freebayes_repository = self.test_db_util.get_repository_by_name_and_owner(freebayes_repository_name, common.test_user_1_name)
    column_repository = self.test_db_util.get_repository_by_name_and_owner(column_repository_name, common.test_user_1_name)
    convert_repository = self.test_db_util.get_repository_by_name_and_owner(convert_repository_name, common.test_user_1_name)
    bismark_repository = self.test_db_util.get_repository_by_name_and_owner(bismark_repository_name, common.test_user_1_name)
    self.check_repository_dependency(convert_repository, column_repository)
    self.check_repository_dependency(column_repository, convert_repository)
    self.check_repository_dependency(emboss_datatypes_repository, bismark_repository)
    self.check_repository_dependency(emboss_repository, emboss_datatypes_repository)
    self.check_repository_dependency(filtering_repository, emboss_repository)
    for repository in [emboss_datatypes_repository, emboss_repository, column_repository]:
        self.check_repository_dependency(freebayes_repository, repository)
    strings_displayed = ['freebayes_0050    depends    on    freebayes_0050,    emboss_datatypes_0050,    emboss_0050,    column_maker_0050.']
    self.display_manage_repository_page(freebayes_repository, strings_displayed=strings_displayed)
