Skip to content
Snippets Groups Projects

Resolve "Remove nose.tools dependency"

Merged Joscha Schmiedt requested to merge f-23-remove-nose-tools-dependency into dev
Files
16
+ 11
3
@@ -26,11 +26,19 @@
@author: tf
"""
import os
import caosdb as db
from nose.tools import nottest, assert_equal, assert_is_not_none
import linkahead as db
import pytest
from pytest import raises
def assert_equal(a, b):
assert a == b
def assert_is_not_none(a):
assert a is not None
def setup_module():
f = open(file_path, "w")
f.write("hello, world!")
@@ -218,7 +226,7 @@ def test_file_file_is_invalid():
assert ee.msg == "Affiliation is not defined for this child-parent constellation."
@nottest
@pytest.mark.skip()
def test_query_party_example():
try:
organisation = db.RecordType(name="Organisation").insert()
Loading