Commit Graph

64 Commits

Author SHA1 Message Date
Rob
c07dcbe0ee Updated det_ancestor_rep.sh to eliminate the unused usenick option 2017-02-02 12:54:42 -05:00
bertcarnell
010fe736ec Added spouses to the child listing in the Detailed Ancestor Report and the Detailed Descendant Report for issues #9926, #8941, and #5698. Also added tests as command line scripts 2017-02-01 00:06:16 -05:00
Nick Hall
382987f366 Create module for database utilities 2016-11-24 17:57:18 +00:00
kulath
67620bb895 Whitespace 2016-08-19 21:46:15 +01:00
kulath
083b4a3b53 Comment out useless ErrorReportAssistant test, and fix whitespace 2016-08-19 21:27:53 +01:00
kulath
fbb884b6ea Fix top level test files so they at least compile and don't interfere
with nosetests. Add these files to nosetests.
2016-08-19 21:10:07 +01:00
Elliott Sales de Andrade
28b722b92d Clean up trailing whitespace. 2016-05-18 20:31:49 -04:00
Malcom Lewis
86303f6116 Update FSF address to current location. 2014-08-08 19:39:45 -07:00
Bob Igo aka human-being
9e15649868 7699: update and run again tools.sh; it outputs two DB files for human inspection 2014-05-16 11:52:53 +02:00
Nick Hall
f6be31eb39 Remove subversion substitution variables 2014-04-15 14:10:18 +01:00
Vassilii Khachaturov
62854bb089 7016: new cmdline switches -y/--yes and -q/--quiet
Add to -h output new text about -y and -q

impex.sh switched to use --yes and --quiet

Refactor ArgHandler to reuse User object

ArgHandler now uses user.prompt
No longer custom code duplicating user.prompt functionality

This dropped support for English yes/no and prefixes in the
"OK to overwrite?", as User.prompt allows pressing "Enter"
to accept by default, and everything else except
verbatim accept choice will be treated as reject.

cli.user.User.prompt now supports treating EOF as a reject

prompt message reformatted: added newline after title

Previously, code
	'-q' in ('--qml')
returned True, which was not what ArgParser meant.
Changed the rhs of in to [] from () to avoid this for every case
in ArgParser.parse in the future as well.

Tests run: the new UT added and impex.sh

svn: r22916
2013-08-28 09:24:26 +00:00
Vassilii Khachaturov
a987be1f3a 6883: non-Western fonts broken in PS reports
Reapply from gramps40.

svn: r22811
2013-08-06 22:34:54 +00:00
Nick Hall
efb3c8c6a4 Move rotate handler test
svn: r22785
2013-07-31 16:48:50 +00:00
Nick Hall
9d6354d311 Fix bug in unit test script
svn: r22770
2013-07-29 16:52:58 +00:00
Nick Hall
4760c6bd21 Fix and move db unit tests
svn: r22768
2013-07-29 16:38:06 +00:00
Vassilii Khachaturov
93c999dcb0 6951: import/export test suite runner broken
Reapply the fix from gramps40.

svn: r22747
2013-07-28 13:51:35 +00:00
Vassilii Khachaturov
47d397f1ec Reviving RunAllTests.py on trunk
Porting my fix from gramps40:
	git diff gramps40^ gramps40 | git apply

svn: r22730
2013-07-24 06:30:59 +00:00
Vassilii Khachaturov
8b3a4058dd 6923: runtest.sh broken in gramps40/trunk
Fixed the file locations to work for the gramps40/trunk layout.

Also porting my fix from gramps34 branch for
6837: runtest.sh runs some reports that no longer exist

svn: r22684
2013-07-16 11:10:34 +00:00
Paul Franklin
6e22f80784 added GPL "boilerplate", SVN properties, and SVN Id line as needed
svn: r22598
2013-06-24 19:31:17 +00:00
Nick Hall
760806a7f9 Changes to imports - part 8
svn: r20493
2012-10-02 21:59:59 +00:00
Benny Malengier
faed8a9f5f Start convertion to introspection. Flat models work, as does relationship view
svn: r19858
2012-06-17 21:25:37 +00:00
Benny Malengier
ad0e1c0a29 correct syntax error
svn: r16438
2011-01-22 16:46:34 +00:00
Gerald Britton
1f2469b09f Simplify with built-in functions where possible. e.g.
change [x for x in y if x] to filter(None, y)
change [f(x) for x in y] to map(f, x)
change [x for x in y] to list(y)

These changes reduce source code size and complexity and produce some minor performance gains

svn: r14104
2010-01-21 18:42:53 +00:00
Doug Blank
0f20544be3 Changes to allow GrampsDb tests to run
svn: r13893
2009-12-23 15:48:01 +00:00
Rob G. Healey
890138b294 Deleted the src/Models directory and removed the only file that I could find that was using it.
svn: r12497
2009-04-30 03:50:17 +00:00
Gerald Britton
2671a8cd50 Replace "== None" and "!= None" with "is None" and "is not None", respectively
svn: r12098
2009-02-23 19:11:46 +00:00
Brian Matherly
2e9a488e3e Refactor export plugin framework. All importers and exporters are now plugins.
svn: r11243
2008-11-04 04:12:51 +00:00
Brian Matherly
e9c1b1de89 Remove GRDB export code. GRDB export is not supported.
svn: r11144
2008-10-14 11:54:42 +00:00
Raphael Ackermann
c962d5e6e1 2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* various (294 files)
	pep8 doc fixes & pylint fixes

svn: r10103
2008-02-24 13:55:55 +00:00
Raphael Ackermann
90f883e46d 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* 143 files
    * test/try_tree_model.py
    * windows/nsis/gcheck.py
    imports cleanup

svn: r10055
2008-02-18 20:07:09 +00:00
Richard Taylor
190d20fcee fix test case to work with reindex_reference_map
svn: r7795
2006-12-13 10:03:52 +00:00
Alex Roitman
9b4864a9a0 Update
svn: r7704
2006-11-26 08:08:06 +00:00
Alex Roitman
8b53da15c7 New file
svn: r7692
2006-11-25 19:39:56 +00:00
Martin Hawlisch
ad6e2d53af another bsddb test
svn: r7691
2006-11-25 19:17:45 +00:00
Martin Hawlisch
4df096ce6f new testcase
svn: r7685
2006-11-24 21:44:32 +00:00
Alex Roitman
9aeb975d1c * test/GrampsDb/GrampsDbBase_Test.py (test_reindex_reference_map):
Properly define lambda to fake the _update_reference_map method.


svn: r7678
2006-11-24 05:39:14 +00:00
Alex Roitman
5dd18318f9 2006-11-23 Alex Roitman <shura@gramps-project.org>
* test/GrampsDb/GrampsDbTestBase.py (tearDown): Close database at
	the end of test.



svn: r7677
2006-11-24 05:21:57 +00:00
Don Allingham
220ccd309a 2006-11-15 Don Allingham <don@gramps-project.org>
* data/gramps.schemas.in: default transactions to off
	* src/Config/_GrampsConfigKeys.py: default transaction to off
	* src/Editors/_EditFamily.py: remove dead code
	* src/plugins/DetDescendantReport.py: remove dead code



svn: r7631
2006-11-16 04:02:28 +00:00
Martin Hawlisch
682ea93e48 * test/GrampsDb/GrampsDbTestBase.py: Provide a callback to db.load(). Hmmm, that worked without sometime back.
svn: r7615
2006-11-11 21:46:22 +00:00
Alex Roitman
3fe3482efb In .:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* various: merge changes from gramps20.

In po:
2006-05-01  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6504
2006-05-01 21:11:26 +00:00
Alex Roitman
b3798a9f30 Remove .cvsignore files from all directories.
svn: r6034
2006-03-02 19:30:29 +00:00
Alex Roitman
2b96e371e1 * various: merge changes made in gramps20 up until R2_0_10_real tag.
* configure.in: Bump up release number.
* Release: Version 2.0.10 "Holy Hand Grenade of Antioch" released.


svn: r6011
2006-02-28 19:54:35 +00:00
Richard Taylor
f6ae3f18c2 add test code for cursor
svn: r5958
2006-02-19 16:11:18 +00:00
Richard Taylor
207669f234 trivial fixed to fast models
svn: r5873
2006-02-03 15:53:20 +00:00
Richard Taylor
754231f151 added initial fast model implementation
svn: r5872
2006-02-03 15:49:59 +00:00
Richard Taylor
90247368d9 make ref update optional
svn: r5780
2006-01-17 21:10:20 +00:00
Richard Taylor
d62d7ae447 added unittest for
ErrorReportAssistant


svn: r5679
2006-01-06 12:17:32 +00:00
Richard Taylor
cfb8cc47a4 enabled rotate_handler output.
svn: r5674
2006-01-05 19:07:27 +00:00
Richard Taylor
ce52de5804 added initial logging framwork.
svn: r5673
2006-01-05 16:02:27 +00:00
Alex Roitman
6fafacf793 * test/RunAllTests.py: Change header.
* src/EventEdit.py: Fix build_ methods.

* src/DisplayState.py: window management improvements


svn: r5620
2005-12-23 00:40:35 +00:00