mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 10:57:58 +00:00
port unit tests to new python package layout
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
#
|
||||
# This file is part of Nominatim. (https://nominatim.org)
|
||||
#
|
||||
# Copyright (C) 2023 by the Nominatim developer community.
|
||||
# Copyright (C) 2024 by the Nominatim developer community.
|
||||
# For a full list of authors see the git log.
|
||||
"""
|
||||
Test functions for adapting results to the user's locale.
|
||||
"""
|
||||
import pytest
|
||||
|
||||
from nominatim.api import Locales
|
||||
from nominatim_api import Locales
|
||||
|
||||
def test_display_name_empty_names():
|
||||
l = Locales(['en', 'de'])
|
||||
|
||||
Reference in New Issue
Block a user