mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 06:45:09 -06:00
Revert "Fix running tests in plugin using pytest"
This reverts commit f8f133d2ef
.
This commit is contained in:
parent
d65114bd56
commit
9d8583a3b6
5 changed files with 19 additions and 28 deletions
|
@ -1,15 +1,15 @@
|
|||
# Copyright (c) 2017 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
import configparser
|
||||
import pytest
|
||||
|
||||
from plugins.VersionUpgrade.VersionUpgrade27to30.VersionUpgrade27to30 import VersionUpgrade27to30
|
||||
import configparser #To parse the resulting config files.
|
||||
import pytest #To register tests with.
|
||||
|
||||
import VersionUpgrade27to30 #The module we're testing.
|
||||
|
||||
## Creates an instance of the upgrader to test with.
|
||||
@pytest.fixture
|
||||
def upgrader():
|
||||
return VersionUpgrade27to30()
|
||||
return VersionUpgrade27to30.VersionUpgrade27to30()
|
||||
|
||||
test_cfg_version_good_data = [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue