ore.tests.test_unicode   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 9
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A UnicodeTestCase.testTikzSerialize() 0 3 1
1
from django.test import TestCase
2
3
from ore.models import Graph
4
from .common import fixt_unicode
5
6
7
class UnicodeTestCase(TestCase):
8
    fixtures = fixt_unicode['files']
9
10
    def testTikzSerialize(self):
11
        g = Graph.objects.get(pk=fixt_unicode['pkFaultTree'])
12
        assert (len(g.to_tikz()) > 0)
13