import unittest

from tests.integration.common_graph_queries import count_edges, count_nodes, general_setup


class TestRelToGraphDataTransformationPersonHasTag(unittest.TestCase):

    def setUp(self):
        general_setup("person_has_tag")

    def test_data_transformation_person_has_tag_edges(self):
        count = count_edges("pt_tagid_pt_personid")
        self.assertEqual(count, 39170)

    def test_data_transformation_person_has_tag_nodes(self):
        count = count_nodes()
        self.assertEqual(count, 17780)

da7abc9bff783b2a4582d16949346d3cc771804b
<mask token>


class TestRelToGraphDataTransformationPersonHasTag(unittest.TestCase):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class TestRelToGraphDataTransformationPersonHasTag(unittest.TestCase):
    <mask token>

    def test_data_transformation_person_has_tag_edges(self):
        count = count_edges('pt_tagid_pt_personid')
        self.assertEqual(count, 39170)

    def test_data_transformation_person_has_tag_nodes(self):
        count = count_nodes()
        self.assertEqual(count, 17780)

<mask token>


class TestRelToGraphDataTransformationPersonHasTag(unittest.TestCase):

    def setUp(self):
        general_setup('person_has_tag')

    def test_data_transformation_person_has_tag_edges(self):
        count = count_edges('pt_tagid_pt_personid')
        self.assertEqual(count, 39170)

    def test_data_transformation_person_has_tag_nodes(self):
        count = count_nodes()
        self.assertEqual(count, 17780)

import unittest
from tests.integration.common_graph_queries import count_edges, count_nodes, general_setup


class TestRelToGraphDataTransformationPersonHasTag(unittest.TestCase):

    def setUp(self):
        general_setup('person_has_tag')

    def test_data_transformation_person_has_tag_edges(self):
        count = count_edges('pt_tagid_pt_personid')
        self.assertEqual(count, 39170)

    def test_data_transformation_person_has_tag_nodes(self):
        count = count_nodes()
        self.assertEqual(count, 17780)

import unittest

from tests.integration.common_graph_queries import count_edges, count_nodes, general_setup


class TestRelToGraphDataTransformationPersonHasTag(unittest.TestCase):

    def setUp(self):
        general_setup("person_has_tag")

    def test_data_transformation_person_has_tag_edges(self):
        count = count_edges("pt_tagid_pt_personid")
        self.assertEqual(count, 39170)

    def test_data_transformation_person_has_tag_nodes(self):
        count = count_nodes()
        self.assertEqual(count, 17780)
