'Verify that uploading the dependency moved metadata to the tip.'

def test_0020_verify_dependency_metadata(self):

    '\n                                We    are    at    simple    repository    dependencies,    step    4    -    Make    sure    the    installable    revision    of    convert_chars_0440    is    now\n                                revision    1    (the    tip)    instead    of    revision    0.\n                                '
    repository = self.test_db_util.get_repository_by_name_and_owner(convert_repository_name, common.test_user_1_name)
    tip = self.get_repository_tip(repository)
    metadata_record = self.get_repository_metadata_by_changeset_revision(repository, tip)
    assert metadata_record.downloadable, 'Tip    is    not    downloadable.'
    assert (len(repository.downloadable_revisions) == 1), ('Repository    %s    has    %d    downloadable    revisions,    expected    1.' % (repository.name, len(repository.downloadable_revisions)))
