Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Latest commit

 

History

History
 
 

_tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Pytest Tests

Before running the tests, make sure that the config file contains an entry for contact_type

VOCABS = {
    'contact_type': {
        'source': VocabSource.FILE,
        'title': 'Contact Type (file)'
    }
}

To run the tests, simply type pytest <path-to-test-directory> in your virtualenv.

See pytest for more information.

Coverage

Static Pages

  • /index.html
  • /about.html

Vocabulary Register

  • CKAN view and its formats
  • Reg view and its formats
  • Alternates view and its formats
  • Search

File Source

Vocabulary Instance

  • DCAT view and its formats
  • Alternates view and its formats

Vocabulary Instance's Concept Register

  • CKAN view and its formats
  • Reg view and its formats
  • Alternates view and its formats
  • Search

Concept Instance

  • SKOS view and its formats
  • Alternates view and its formats

RVA Source

Vocabulary Instance

  • DCAT view and its formats
  • Alternates view and its formats

Vocabulary Instance's Concept Register

  • CKAN view and its formats
  • Reg view and its formats
  • Alternates view and its formats
  • Search

Concept Instance

  • SKOS view and its formats
  • Alternates view and its formats

VocBench Source

Vocabulary Instance

  • DCAT view and its formats
  • Alternates view and its formats

Vocabulary Instance's Concept Register

  • CKAN view and its formats
  • Reg view and its formats
  • Alternates view and its formats
  • Search

Concept Instance

  • SKOS view and its formats
  • Alternates view and its formats

GitHub Source

Vocabulary Instance

  • DCAT view and its formats
  • Alternates view and its formats

Vocabulary Instance's Concept Register

  • CKAN view and its formats
  • Reg view and its formats
  • Alternates view and its formats
  • Search

Concept Instance

  • SKOS view and its formats
  • Alternates view and its formats

Error Handling

  • Invalid vocab_id
  • VocBench exception
  • Invalid Object Class URI type