Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-selo committed Jun 16, 2023
1 parent ddf3745 commit 62de0f8
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 1 deletion.
19 changes: 19 additions & 0 deletions backend/test_observer/controllers/artefacts/artefacts.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# Copyright 2023 Canonical Ltd.
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Written by:
# Omar Selo <[email protected]>
# Nadzeya Hutsko <[email protected]>
from fastapi import APIRouter, Depends
from sqlalchemy.orm import Session
from test_observer.data_access.models import ArtefactBuild
Expand Down
19 changes: 19 additions & 0 deletions backend/test_observer/controllers/artefacts/models.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# Copyright 2023 Canonical Ltd.
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Written by:
# Omar Selo <[email protected]>
# Nadzeya Hutsko <[email protected]>
from pydantic import BaseModel


Expand Down
19 changes: 19 additions & 0 deletions backend/test_observer/controllers/router.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# Copyright 2023 Canonical Ltd.
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Written by:
# Omar Selo <[email protected]>
# Nadzeya Hutsko <[email protected]>
from fastapi import APIRouter, Depends
from sqlalchemy import text
from sqlalchemy.orm import Session
Expand Down
19 changes: 19 additions & 0 deletions backend/tests/controllers/artefacts/test_artefacts.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# Copyright 2023 Canonical Ltd.
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Written by:
# Omar Selo <[email protected]>
# Nadzeya Hutsko <[email protected]>
from fastapi.testclient import TestClient
from sqlalchemy.orm import Session
from test_observer.data_access.models import Environment, TestExecution
Expand Down
2 changes: 1 addition & 1 deletion backend/tests/controllers/promoter/test_promoter.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Written by:
# Nadzeya Hutsko <[email protected]>
# Omar Selo <[email protected]>
"""Test snap manager API"""
"""Test promoter API"""


from datetime import datetime, timedelta
Expand Down

0 comments on commit 62de0f8

Please sign in to comment.