UnicodeTestCase.testTikzSerialize()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nop 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