Skip to content

Commit 765fa0a

Browse files
authored
Merge pull request influxdata#338 from babilen/allow-drop-default-ret-policy
Allow for dropping of the default retention policy
2 parents 1bd84e6 + a99d800 commit 765fa0a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

influxdb/tests/server_tests/client_test_with_server.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -604,16 +604,6 @@ def test_drop_retention_policy(self):
604604
rsp
605605
)
606606

607-
def test_drop_retention_policy_default(self):
608-
# Test drop default retention
609-
with self.assertRaises(InfluxDBClientError) as ctx:
610-
self.cli.drop_retention_policy('default', 'db')
611-
612-
self.assertEqual(400, ctx.exception.code)
613-
self.assertIn(
614-
'{"error":"error parsing query: found DEFAULT, expected POLICY',
615-
ctx.exception.content)
616-
617607
def test_issue_143(self):
618608
pt = partial(point, 'a_serie_name', timestamp='2015-03-30T16:16:37Z')
619609
pts = [

0 commit comments

Comments
 (0)