mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix tests on Windows
This commit is contained in:
1 parent
41026c74c1
commit
dd845eb096
2 files changed
+5
-2
No files matched your search
@@ -15,8 +15,11 @@
|
||||
# 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 os
|
||||
|
||||
from gns3server.utils.static import get_static_path
|
||||
|
||||
|
||||
def test_get_static_path():
|
||||
assert get_static_path('test').endswith('gns3server/static/test')
|
||||
expected = os.path.join('gns3server', 'static', 'test')
|
||||
assert get_static_path('test').endswith(expected)
|
||||
Reference in new issue
Block a user