mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
implemented first CI pipeline version with a test test that only checks if 1 is 1, needs implementation of actual tests
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
from fastapi.testclient import TestClient
|
||||
from app.main import app
|
||||
|
||||
client = TestClient(app)
|
||||
|
||||
def test_health():
|
||||
response = client.get("/health")
|
||||
assert response.status_code == 200
|
||||
@@ -0,0 +1,9 @@
|
||||
describe('Just a little test', () => {
|
||||
it('1 should be 1', (done) => {
|
||||
if(1 == 1){
|
||||
done()
|
||||
}else{
|
||||
throw Error("something went terribly wrong")
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user