mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Migration to FastAPI
This commit is contained in:
1 parent
c12b675691
commit
eb3cb8a41f
224 files changed
+11254
-13517
No files matched your search
@@ -15,9 +15,9 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import aiohttp
|
||||
import pytest
|
||||
|
||||
from gns3server.compute.compute_error import ComputeNotFoundError
|
||||
from gns3server.compute.project_manager import ProjectManager
|
||||
|
||||
|
||||
@@ -31,5 +31,5 @@ def test_create_project():
|
||||
def test_project_not_found():
|
||||
|
||||
pm = ProjectManager.instance()
|
||||
with pytest.raises(aiohttp.web.HTTPNotFound):
|
||||
with pytest.raises(ComputeNotFoundError):
|
||||
pm.get_project('00010203-0405-0607-0809-000000000000')
|
||||
Reference in new issue
Block a user