r"""
Tests for QtAwesome.
"""
# Standard library imports
import subprocess

# Test Library imports
import pytest

def test_segfault_import():
    output_number = subprocess.call('python -c "import qtawesome '
                                    '; qtawesome.icon()"', shell=True)
    assert output_number == 0
    
if __name__ == "__main__":
    pytest.main()

@@ -107,16 +107,103 @@
 pytest%0A%0A
+# Local imports%0Aimport qtawesome as qta%0Afrom qtawesome.iconic_font import IconicFont%0A%0A%0A
 def test
@@ -390,20 +390,429 @@
 er == 0%0A
-    
+%0A%0Adef test_unique_font_family_name(qtbot):%0A    %22%22%22%0A    Test that each font used by qtawesome has a unique name.%0A%0A    Regression test for Issue #107%0A    %22%22%22%0A    resource = qta._instance()%0A    assert isinstance(resource, IconicFont)%0A%0A    prefixes = list(resource.fontname.keys())%0A    assert prefixes%0A%0A    fontnames = set(resource.fontname.values())%0A    assert fontnames%0A%0A    assert len(prefixes) == len(fontnames)%0A%0A
 %0Aif __na

Add test_unique_font_family_name