aboutsummaryrefslogtreecommitdiff
path: root/unittests/datatests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2024-05-22 23:59:02 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2024-05-22 23:59:02 +0300
commit52c9b254bdae9abc244a4f081cf902b5b30e5867 (patch)
tree4d0293a9b3b927b57d9129ae87460a961f898b64 /unittests/datatests.py
parentaa9b7b9445ad5bf0948cadac86109ba40e193424 (diff)
downloadmeson-optionshuffle.zip
meson-optionshuffle.tar.gz
meson-optionshuffle.tar.bz2
Refactor option classes to their own file.optionshuffle
Diffstat (limited to 'unittests/datatests.py')
-rw-r--r--unittests/datatests.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/unittests/datatests.py b/unittests/datatests.py
index b14bbac..19664e3 100644
--- a/unittests/datatests.py
+++ b/unittests/datatests.py
@@ -14,6 +14,7 @@ import mesonbuild.dependencies.factory
import mesonbuild.envconfig
import mesonbuild.environment
import mesonbuild.coredata
+import mesonbuild.options
import mesonbuild.modules.gnome
from mesonbuild.interpreter import Interpreter
from mesonbuild.ast import AstInterpreter
@@ -139,8 +140,8 @@ class DataTests(unittest.TestCase):
found_entries |= options
self.assertEqual(found_entries, {
- *(str(k.evolve(module=None)) for k in mesonbuild.coredata.BUILTIN_OPTIONS),
- *(str(k.evolve(module=None)) for k in mesonbuild.coredata.BUILTIN_OPTIONS_PER_MACHINE),
+ *(str(k.evolve(module=None)) for k in mesonbuild.options.BUILTIN_OPTIONS),
+ *(str(k.evolve(module=None)) for k in mesonbuild.options.BUILTIN_OPTIONS_PER_MACHINE),
})
# Check that `buildtype` table inside `Core options` matches how