source: LATMOS-Accounts/t/22_accounts_attributes.t @ 852

Last change on this file since 852 was 852, checked in by nanardon, 14 years ago
  • add basic code to handle attributes schema and factorize code through all possible GUI (web/curses/...)
  • Property svn:keywords set to Id
File size: 373 bytes
Line 
1use strict;
2use warnings;
3use Test::More tests => 4;
4use File::Temp;
5
6use_ok('LATMOS::Accounts');
7use_ok('LATMOS::Accounts::Bases::Attributes');
8
9isa_ok(
10    my $accounts = LATMOS::Accounts->new('testdata/config'),
11    'LATMOS::Accounts'
12);
13
14ok(my $base = $accounts->base('unix'), "Can get base");
15
16my $attr = LATMOS::Accounts::Bases::Attributes->new('sn', $base, 'user');
Note: See TracBrowser for help on using the repository browser.