Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
c86f2da3
Commit
c86f2da3
authored
Feb 22, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
6ed71cfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
go/neo/storage/sqlite/py/gen-testdata
go/neo/storage/sqlite/py/gen-testdata
+3
-8
go/neo/storage/sqlite/testdata/1.sqlite
go/neo/storage/sqlite/testdata/1.sqlite
+0
-0
No files found.
go/neo/storage/sqlite/py/gen-testdata
View file @
c86f2da3
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
# Copyright (C) 2018 Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com>
# Copyright (C) 2018
-2021
Nexedi SA and Contributors.
#
Kirill Smelkov <kirr@nexedi.com>
#
# This program is free software: you can Use, Study, Modify and Redistribute
# it under the terms of the GNU General Public License version 3, or (at your
...
...
@@ -18,7 +18,7 @@
#
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
"""generate reference database for tests"""
"""generate reference
NEO SQLite
database for tests"""
from
zodbtools.util
import
storageFromURL
from
neo.tests.functional
import
NEOCluster
...
...
@@ -46,11 +46,6 @@ def main():
cluster
.
stop
()
cluster
.
waitAll
()
# remove sqlite journal XXX should not exist? (meaning the tranaction was not committed)
for
f
in
glob
(
"testdata/*-journal"
):
os
.
remove
(
f
)
if
__name__
==
'__main__'
:
main
()
go/neo/storage/sqlite/testdata/1.sqlite
View file @
c86f2da3
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment