<commit_before>"""Test that a user can create a device via the admin interface for each backend.

Backends:
 - MDSPlus
 - HDF5

"""

#from selenium import webdriver
from django.test import TestCase
from django.utils import unittest
from h1ds.models import Device, Shot, generate_test_data


class Hdf5BackendTest(TestCase):

    def setUp(self):<commit_msg>remove old import from functional test<commit_after>"""Test that a user can create a device via the admin interface for each backend.

Backends:
 - MDSPlus
 - HDF5

"""

#from selenium import webdriver
from django.test import TestCase
from django.utils import unittest
from h1ds.models import Device, Shot


class Hdf5BackendTest(TestCase):

    def setUp(self):
{'fraction_non_alphanumeric': 0.06815020862308763, 'fraction_numerical': 0.008344923504867872, 'mean_word_length': 4.76, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1358063', 'n_tokens_mistral': 216, 'n_tokens_neox': 207, 'n_words': 83}