Skip to content
Snippets Groups Projects
Verified Commit 1220ad5d authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Merge branch 'dev' into f-coverage

parents 77161701 6774b1f1
No related branches found
No related tags found
1 merge request!8Code coverage
Pipeline #59617 passed with warnings
......@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ##
### Added ###
### Changed ###
### Deprecated ###
### Removed ###
### Fixed ###
### Security ###
### Documentation ###
## [0.1.0] ##
### Added ###
......
......
......@@ -24,6 +24,7 @@ from pathlib import Path
from ruqad.crawler import trigger_crawler
DATADIR = Path(__file__).parent / "data" / "crawler_data"
BROKEN_DATADIR = Path(__file__).parent / "data" / "broken_crawler_data"
def test_crawl(capsys):
......@@ -63,3 +64,14 @@ def test_crawl(capsys):
assert type(qc[d].get_property("numPassingChecks").value) == int
assert qc[d].get_property("numTotalChecks").value == total
assert qc[d].get_property("numPassingChecks").value == passed
#
#
# def test_broken_metadata():
# print(f"\nData directory: {BROKEN_DATADIR}")
# print(os.listdir(BROKEN_DATADIR))
#
# retval, ent_qc = trigger_crawler(os.fspath(BROKEN_DATADIR))
#
# # stdout, stderr = capsys.readouterr()
#
# assert not retval
......@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "ruqad"
description = "Quality assured data integration from Kadi to LinkAhead."
version = "0.1.0"
version = "0.1.1"
readme = "README.md"
license = {file = "LICENSE"}
authors = [
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment