def test_should_return_correct_gremlin_for_edge(self):
        expected = 'subscribed_to = g.makeType().name("subscribed_to").primaryKey(updated_at).makeEdgeLabel()'
        edge = self.spec_parser.parse_edge(self.edge_spec)
        assert edge.gremlin == expected

        expected = 'subscribed_to = g.makeType().name("subscribed_to").makeEdgeLabel()'
        self.spec_parser._names = []
        del self.edge_spec['primary_key']
        edge = self.spec_parser.parse_edge(self.edge_spec)
        assert edge.gremlin == expected
Should return correct gremlin for an edge
dataset/ETHPy150Open StartTheShift/thunderdome/thunderdome/tests/test_spec.py/SpecParserTest.test_should_return_correct_gremlin_for_edge